Changeset 28558 for trunk/ippTools/src/dettool_normalizedstat.c
- Timestamp:
- Jun 30, 2010, 10:04:58 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool_normalizedstat.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool_normalizedstat.c
r26981 r28558 182 182 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 183 183 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 184 185 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) { 186 psFree(where); 187 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required"); 188 return false; 189 } 184 190 185 191 psString query = pxDataGet("dettool_revertnormalizedstat.sql"); … … 202 208 } 203 209 psFree(query); 204 205 if (psDBAffectedRows(config->dbh) < 1) {206 psError(PS_ERR_UNKNOWN, false, "should have affected atleast 1 row");207 return false;208 }209 210 210 211 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
