IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40177


Ignore:
Timestamp:
Oct 19, 2017, 4:54:15 PM (9 years ago)
Author:
eugene
Message:

finished testing delstar delete by detID

Location:
branches/eam_branches/ohana.20170822/src/delstar/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20170822/src/delstar/src/delete_measures_by_detID.c

    r40175 r40177  
    9797    }
    9898  }
    99   fprintf (stderr, "found %d uniq catIDs\n", NcatID);
     99  // fprintf (stderr, "found %d uniq catIDs\n", NcatID);
    100100
    101101  ALLOCATE_PTR (catIDgroup, CatIDGroup, NcatID);
     
    132132  for (i = 0; i < skylist[0].Nregions; i++) {
    133133
     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
    134136    // does this host ID match the desired location for the table?
    135137    if (!HostTableTestHost(skylist[0].regions[i], HOST_ID)) continue;
     
    161163    }
    162164
    163     int myCatID = thisCatID (catID, NcatID, skylist[0].regions[i]->index);
     165    int myCatID = thisCatID (catIDuniq, NcatID, skylist[0].regions[i]->index);
    164166    myAssert (myCatID >= 0, "error");
    165167
     
    388390  if (SAVE_DELETES) {
    389391    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);
    391393    struct stat filestat;
    392394    int myStatus = stat (savename, &filestat);
  • branches/eam_branches/ohana.20170822/src/delstar/src/delstar_client.c

    r39692 r40177  
    3737    case MODE_DELETE_MEASURES_BY_MATCH:
    3838      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);
    3946      delstar_args_free ();
    4047      ohana_memcheck (TRUE);
Note: See TracChangeset for help on using the changeset viewer.