Changeset 23608
- Timestamp:
- Mar 30, 2009, 2:24:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippTools/src/dettool_normalizedstat.c
r19092 r23608 83 83 // default 84 84 PXOPT_LOOKUP_S32(iteration, config->args, "-iteration", false, false); 85 PXOPT_LOOKUP_S16(code, config->args, "- code", false, false);85 PXOPT_LOOKUP_S16(code, config->args, "-fault", false, false); 86 86 87 87 detNormalizedStatImfileRow *row = detNormalizedStatImfileRowAlloc 88 (det_id,89 iteration,90 class_id,91 norm,92 "full",93 code);94 88 (det_id, 89 iteration, 90 class_id, 91 norm, 92 "full", 93 code); 94 95 95 if (!detNormalizedStatImfileInsertObject(config->dbh, row)) { 96 psError(PS_ERR_UNKNOWN, false, "database error");97 return false;96 psError(PS_ERR_UNKNOWN, false, "database error"); 97 return false; 98 98 } 99 99 … … 181 181 PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "=="); 182 182 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 183 PXOPT_COPY_S16(config->args, where, "- code", "fault", "==");183 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 184 184 185 185 psString query = pxDataGet("dettool_revertnormalizedstat.sql"); … … 221 221 222 222 if (!setNormStatImfileDataState(config, det_id, iteration, class_id, data_state)) { 223 return false;223 return false; 224 224 } 225 225 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
