- 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_processedexp.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_processedexp.c
r26981 r28794 232 232 PXOPT_COPY_S64(config->args, where, "-exp_id", "exp_id", "=="); 233 233 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 234 235 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all-run")) { 236 psFree(where); 237 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required"); 238 return false; 239 } 234 240 235 241 psString query = pxDataGet("dettool_revertprocessedexp.sql"); … … 252 258 } 253 259 psFree(query); 254 255 if (psDBAffectedRows(config->dbh) < 1) {256 psError(PS_ERR_UNKNOWN, false, "should have affected atleast 1 row");257 return false;258 }259 260 260 261 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
