- 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_normalizedstat.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_normalizedstat.c
r26981 r28794 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-run")) { 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.
