Changeset 40177
- Timestamp:
- Oct 19, 2017, 4:54:15 PM (9 years ago)
- Location:
- branches/eam_branches/ohana.20170822/src/delstar/src
- Files:
-
- 2 edited
-
delete_measures_by_detID.c (modified) (4 diffs)
-
delstar_client.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20170822/src/delstar/src/delete_measures_by_detID.c
r40175 r40177 97 97 } 98 98 } 99 fprintf (stderr, "found %d uniq catIDs\n", NcatID);99 // fprintf (stderr, "found %d uniq catIDs\n", NcatID); 100 100 101 101 ALLOCATE_PTR (catIDgroup, CatIDGroup, NcatID); … … 132 132 for (i = 0; i < skylist[0].Nregions; i++) { 133 133 134 if (VERBOSE) fprintf (stderr, "checking %s : %d, %d\n", skylist[0].regions[i]->name, skylist[0].regions[i]->index, skylist[0].regions[i]->hostID); 135 134 136 // does this host ID match the desired location for the table? 135 137 if (!HostTableTestHost(skylist[0].regions[i], HOST_ID)) continue; … … 161 163 } 162 164 163 int myCatID = thisCatID (catID , NcatID, skylist[0].regions[i]->index);165 int myCatID = thisCatID (catIDuniq, NcatID, skylist[0].regions[i]->index); 164 166 myAssert (myCatID >= 0, "error"); 165 167 … … 388 390 if (SAVE_DELETES) { 389 391 char savename[DVO_MAX_PATH]; 390 snprintf (savename, DVO_MAX_PATH, "%s.save.20171019 ", catalog->filename);392 snprintf (savename, DVO_MAX_PATH, "%s.save.20171019.v1", catalog->filename); 391 393 struct stat filestat; 392 394 int myStatus = stat (savename, &filestat); -
branches/eam_branches/ohana.20170822/src/delstar/src/delstar_client.c
r39692 r40177 37 37 case MODE_DELETE_MEASURES_BY_MATCH: 38 38 if (!delete_measures_by_match ()) exit (1); 39 delstar_args_free (); 40 ohana_memcheck (TRUE); 41 ohana_memdump (TRUE); 42 exit (0); 43 break; 44 case MODE_DELETE_MEASURES_BY_DETID: 45 if (!delete_measures_by_detID ()) exit (1); 39 46 delstar_args_free (); 40 47 ohana_memcheck (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
