- 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_processedimfile.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_processedimfile.c
r26981 r28794 264 264 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 265 265 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 266 267 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all-run")) { 268 psFree(where); 269 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required"); 270 return false; 271 } 266 272 267 273 psString query = pxDataGet("dettool_revertprocessedimfile.sql"); … … 284 290 } 285 291 psFree(query); 286 287 if (psDBAffectedRows(config->dbh) < 1) {288 psError(PS_ERR_UNKNOWN, false, "should have affected atleast 1 row");289 return false;290 }291 292 292 293 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
