Changeset 28959 for trunk/ippTools/src/staticskytool.c
- Timestamp:
- Aug 18, 2010, 7:42:49 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/staticskytool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/staticskytool.c
r28154 r28959 727 727 bool exportrunMode(pxConfig *config) 728 728 { 729 # if (0)730 729 typedef struct ExportTable { 731 730 char tableName[80]; … … 737 736 PS_ASSERT_PTR_NON_NULL(config, NULL); 738 737 739 PXOPT_LOOKUP_S64(det_id, config->args, "-s tack_id", true, false);738 PXOPT_LOOKUP_S64(det_id, config->args, "-sky_id", true, false); 740 739 PXOPT_LOOKUP_STR(outfile, config->args, "-outfile", true, false); 741 740 PXOPT_LOOKUP_BOOL(clean, config->args, "-clean", false); … … 753 752 } 754 753 psMetadata *where = psMetadataAlloc(); 755 PXOPT_COPY_S64(config->args, where, "-s tack_id", "stack_id", "==");754 PXOPT_COPY_S64(config->args, where, "-sky_id", "sky_id", "=="); 756 755 757 756 ExportTable tables [] = { 758 {"sta ckRun", "staticskytool_export_run.sql"},759 {"sta ckInputSkyfile", "staticskytool_export_input_skyfile.sql"},760 {"sta ckSumSkyfile", "staticskytool_export_sum_skyfile.sql"},757 {"staticskyRun", "staticskytool_export_run.sql"}, 758 {"staticskyInput", "staticskytool_export_input.sql"}, 759 {"staticskyResult", "staticskytool_export_result.sql"}, 761 760 }; 762 761 … … 800 799 801 800 if (clean) { 802 if (!strcmp(tables[i].tableName, "sta ckRun")) {803 if (!pxSetStateCleaned("sta ckRun", "state", output)) {801 if (!strcmp(tables[i].tableName, "staticskyRun")) { 802 if (!pxSetStateCleaned("staticskyRun", "state", output)) { 804 803 psFree(output); 805 804 psError(PS_ERR_UNKNOWN, false, "pxSetStateClean failed for table %s", tables[i].tableName); … … 821 820 fclose (f); 822 821 823 # endif824 822 return true; 825 823 }
Note:
See TracChangeset
for help on using the changeset viewer.
