Changeset 23873 for trunk/ippTools/src/faketool.c
- Timestamp:
- Apr 15, 2009, 9:33:58 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/faketool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/faketool.c
r23809 r23873 1265 1265 PXOPT_LOOKUP_STR(outfile, config->args, "-outfile", true, false); 1266 1266 PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false); 1267 PXOPT_LOOKUP_BOOL(clean, config->args, "-clean", false); 1267 1268 1268 1269 FILE *f = fopen (outfile, "w"); … … 1313 1314 } 1314 1315 if (!psArrayLength(output)) { 1315 ps Trace("regtool", PS_LOG_INFO, "no rows found");1316 psError(PS_ERR_UNKNOWN, true, "no rows found"); 1316 1317 psFree(output); 1317 return true; 1318 return false; 1319 } 1320 1321 if (clean) { 1322 if (!strcmp(tables[i].tableName, "fakeRun")) { 1323 if(!pxSetStateCleaned("fakeRun", "state", output)) { 1324 psFree(output); 1325 psError(PS_ERR_UNKNOWN, false, "pxSetStateClean failed for table %s", tables[i].tableName); 1326 return false; 1327 } 1328 } 1318 1329 } 1319 1330
Note:
See TracChangeset
for help on using the changeset viewer.
