Changeset 25766 for branches/eam_branches/20090820/ippTools/src/chiptool.c
- Timestamp:
- Oct 2, 2009, 5:10:19 PM (17 years ago)
- Location:
- branches/eam_branches/20090820
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/chiptool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090820
- Property svn:mergeinfo changed
-
branches/eam_branches/20090820/ippTools/src
- Property svn:ignore
-
old new 34 34 disttool 35 35 receivetool 36 36 addtool 37 37 pubtool
-
- Property svn:ignore
-
branches/eam_branches/20090820/ippTools/src/chiptool.c
r24562 r25766 54 54 static bool tofullimfileMode(pxConfig *config); 55 55 static bool topurgedimfileMode(pxConfig *config); 56 static bool toscrubbedimfileMode(pxConfig *config); 56 57 static bool exportrunMode(pxConfig *config); 57 58 static bool importrunMode(pxConfig *config); … … 93 94 MODECASE(CHIPTOOL_MODE_TOFULLIMFILE, tofullimfileMode); 94 95 MODECASE(CHIPTOOL_MODE_TOPURGEDIMFILE, topurgedimfileMode); 96 MODECASE(CHIPTOOL_MODE_TOSCRUBBEDIMFILE, toscrubbedimfileMode); 95 97 MODECASE(CHIPTOOL_MODE_EXPORTRUN, exportrunMode); 96 98 MODECASE(CHIPTOOL_MODE_IMPORTRUN, importrunMode); … … 601 603 PXOPT_COPY_STR(config->args, where, "-reduction", "chipRun.reduction", "=="); 602 604 pxAddLabelSearchArgs (config, where, "-label", "chipRun.label", "LIKE"); 603 PXOPT_COPY_S64(config->args, where, "-magicked", "chipRun.magicked", "=="); 605 PXOPT_COPY_S64(config->args, where, "-magicked", "chipProcessedImfile.magicked", "=="); 606 607 PXOPT_LOOKUP_U64(magicked, config->args, "-magicked", false, false); 608 PXOPT_LOOKUP_BOOL(destreaked, config->args, "-destreaked", false); 609 PXOPT_LOOKUP_BOOL(not_destreaked, config->args, "-not_destreaked", false); 604 610 605 611 if (!psListLength(where->list) && … … 629 635 // don't list faulted rows 630 636 psStringAppend(&query, " %s", "AND chipProcessedImfile.fault = 0"); 637 } 638 if (not_destreaked) { 639 if (destreaked) { 640 psError(PXTOOLS_ERR_DATA, true, "providing -not_destreaked and -destreaked makes no sense"); 641 return false; 642 } 643 if (magicked) { 644 psError(PXTOOLS_ERR_DATA, true, "providing -not_destreaked and -magicked makes no sense"); 645 return false; 646 } 647 psStringAppend(&query, " AND chipProcessedImfile.magicked = 0"); 648 } 649 if (destreaked) { 650 psStringAppend(&query, " AND chipProcessedImfile.magicked != 0"); 631 651 } 632 652 … … 1333 1353 return change_imfile_data_state(config, "purged", "goto_purged"); 1334 1354 } 1335 1355 static bool toscrubbedimfileMode(pxConfig *config) 1356 { 1357 return change_imfile_data_state(config, "scrubbed", "goto_scrubbed"); 1358 } 1336 1359 bool exportrunMode(pxConfig *config) 1337 1360 {
Note:
See TracChangeset
for help on using the changeset viewer.
