Changeset 28558 for trunk/ippTools/src/dettool_residimfile.c
- Timestamp:
- Jun 30, 2010, 10:04:58 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool_residimfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool_residimfile.c
r26981 r28558 250 250 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 251 251 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 252 253 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) { 254 psFree(where); 255 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required"); 256 return false; 257 } 252 258 253 259 psString query = pxDataGet("dettool_revertresidimfile.sql"); … … 270 276 } 271 277 psFree(query); 272 273 if (psDBAffectedRows(config->dbh) < 1) {274 psError(PS_ERR_UNKNOWN, false, "should have affected atleast 1 row");275 return false;276 }277 278 278 279 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
