Changeset 25800 for trunk/ippTools/src/chiptool.c
- Timestamp:
- Oct 7, 2009, 4:25:35 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/chiptool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptool.c
r25790 r25800 728 728 PXOPT_COPY_S64(config->args, where, "-chip_id", "chip_id", "=="); 729 729 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 730 PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false); 731 732 if (!pxSetFaultCode(config->dbh, "chipProcessedImfile", where, fault)) { 730 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, NULL); 731 732 if (!state) { 733 PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false); 734 735 if (!pxSetFaultCode(config->dbh, "chipProcessedImfile", where, fault)) { 733 736 psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag"); 734 737 return false; 735 } 736 psFree(where); 737 738 } 739 psFree(where); 740 } 741 else { 742 if (!pxchipProcessedImfileSetStateByQuery(config,where,state)) { 743 psError(PS_ERR_UNKNOWN, false, "failed to set chipProcessedImfile state"); 744 return(false); 745 } 746 } 747 748 738 749 return true; 739 750 }
Note:
See TracChangeset
for help on using the changeset viewer.
