IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35588


Ignore:
Timestamp:
May 21, 2013, 5:56:03 AM (13 years ago)
Author:
eugene
Message:

add warnings / errors about modes for which db merge history is not implemented yet

Location:
branches/eam_branches/ipp-20130419/Ohana/src/dvomerge/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/Ohana/src/dvomerge/src/dvomerge.c

    r29938 r35588  
    1010  if (argc == 6) {
    1111    if (!strcasecmp (argv[2], "and")) {
     12      if (VERIFY) {
     13        fprintf (stderr, "WARNING / ERROR : dvomerge (input1) and (input2) into (output) : VERIFY mode not implemented\n");
     14        exit (3);
     15      }
    1216      dvomergeCreate (argc, argv);
    1317    } else {
     18      if (VERIFY) {
     19        fprintf (stderr, "WARNING / ERROR : dvomerge (input) into (output) from (list) : VERIFY mode not implemented\n");
     20        exit (3);
     21      }
    1422      dvomergeFromList (argc, argv);
    1523    }
     
    2634}
    2735
    28 /* we have two possible modes of operation:
     36/* we have two major modes of operation:
    2937
    30    Create   : dvomerge (in1) and (in2) to (out) -- create a new db from two input dbs
    31    Update   : dvomerge (in) into (out)          -- merge a new db into an existing db
    32    Continue : dvomerge (in) into (out) continue -- merge a new db into an existing db
     38   Create    : dvomerge (in1) and (in2) to (out) -- create a new db from two input dbs
     39   Update    : dvomerge (in) into (out)          -- merge a new db into an existing db
    3340
     41   we also have varients on Update:
     42   Continue  : dvomerge (in) into (out) continue -- merge only unmerged tables into the existing db
     43   From List : dvomerge (in) into (out) from (list) -- merge only specified tables into the existing db
     44
     45   neither of the 2 above modes update the image table
    3446*/
  • branches/eam_branches/ipp-20130419/Ohana/src/dvomerge/src/dvomergeFromList.c

    r35547 r35588  
    108108    dmhObjectStats *inStats = dmhObjectStatsRead (inputfile);
    109109
     110    // XXX : we are not checking for already-merged entries
     111
    110112    LoadCatalog (&incatalog, NULL, inputfile, "r", NsecfiltInput);
    111113
  • branches/eam_branches/ipp-20130419/Ohana/src/dvomerge/src/dvomergeUpdate_threaded.c

    r33657 r35588  
    129129  output = argv[3];
    130130
     131  fprintf (stderr, "WARNING / ERROR : multi-threaded dvomerge does not handle merge tracking yet\n");
     132  exit (2);
     133
    131134  if (ALTERNATE_PHOTCODE_FILE) {
    132135    fprintf (stderr, "cannot specify photcodes when merging into an existing catdir\n");
Note: See TracChangeset for help on using the changeset viewer.