- Timestamp:
- Jul 30, 2010, 9:31:50 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/ippTools/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
dettool_normalizedimfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/ippTools/src
- Property svn:ignore
-
old new 39 39 warptool 40 40 staticskytool 41 41 bgtool 42 42 diffphottool
-
- Property svn:ignore
-
branches/eam_branches/ipp-20100621/ippTools/src/dettool_normalizedimfile.c
r26981 r28794 202 202 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 203 203 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 204 205 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all-run")) { 206 psFree(where); 207 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required"); 208 return false; 209 } 204 210 205 211 psString query = pxDataGet("dettool_revertnormalizedimfile.sql"); … … 222 228 } 223 229 psFree(query); 224 225 if (psDBAffectedRows(config->dbh) < 1) {226 psError(PS_ERR_UNKNOWN, false, "should have affected atleast 1 row");227 return false;228 }229 230 230 231 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
