14 int main(int ac, char **av)
16 int ret; setbuf(stdout,0);
19 //db.access(av[1], 34543, 0);
20 if( !db.opened() || db.error() ) exit(1);
22 if( (ret=db.Clip_set.add_kindex("Clip_path_pos")) ) {
23 printf("add kindex failed %d\n",ret);
28 if( !(ret=db.clip_set.FirstId(clip)) ) do {
29 int id = db.clip_set.id();
30 Clip_setLoc::rkey_Clip_path_pos rkey(db.clip_set);
31 if( (ret=db.Clip_set.index("Clip_path_pos")->Insert(rkey,&id)) ) {
32 printf("insert clip_path_pos failed %d, id = %d\n",ret,id);
35 } while( !(ret=db.clip_set.NextId(clip)) );