Changeset 19676 for trunk/ippTools/src/stacktool.c
- Timestamp:
- Sep 23, 2008, 9:51:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/stacktool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/stacktool.c
r19673 r19676 43 43 static bool pendingcleanupskyfileMode(pxConfig *config); 44 44 static bool donecleanupMode(pxConfig *config); 45 static bool updatesumskyfileMode(pxConfig *config); 45 46 46 47 static bool setstackRunState(pxConfig *config, psS64 stack_id, const char *state); … … 76 77 MODECASE(STACKTOOL_MODE_PENDINGCLEANUPSKYFILE, pendingcleanupskyfileMode); 77 78 MODECASE(STACKTOOL_MODE_DONECLEANUP, donecleanupMode); 79 MODECASE(STACKTOOL_MODE_UPDATESUMSKYFILE, updatesumskyfileMode); 78 80 default: 79 81 psAbort("invalid option (this should not happen)"); … … 725 727 uri, 726 728 path_base, 727 "full", // data_state728 729 bg, 729 730 bg_stdev, … … 1158 1159 return true; 1159 1160 } 1161 static bool updatesumskyfileMode(pxConfig *config) 1162 { 1163 PS_ASSERT_PTR_NON_NULL(config, false); 1164 1165 PXOPT_LOOKUP_S16(code, config->args, "-code", true, false); 1166 1167 psMetadata *where = psMetadataAlloc(); 1168 PXOPT_COPY_S64(config->args, where, "-stack_id", "stack_id", "=="); 1169 1170 if (!pxSetFaultCode(config->dbh, "stackSumSkyfile", where, code)) { 1171 psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag"); 1172 psFree (where); 1173 return false; 1174 } 1175 psFree (where); 1176 1177 return true; 1178 } 1179
Note:
See TracChangeset
for help on using the changeset viewer.
