Changeset 27391 for trunk/ippTools/src/addtool.c
- Timestamp:
- Mar 22, 2010, 1:58:02 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/addtool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/addtool.c
r26981 r27391 290 290 291 291 // pxUpdateRun gets parameters from config->args and runs the update query 292 bool result = pxUpdateRun(config, where, &query, "addRun", false); 292 bool result = pxUpdateRun(config, where, &query, "addRun", "add_id", 293 "addProcessedExp", false); 293 294 294 295 psFree(query); … … 296 297 297 298 return result; 298 299 300 #ifdef notdef301 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false);302 PXOPT_LOOKUP_STR(label, config->args, "-set_label", false, false);303 304 if ((!state) && (!label)) {305 psError(PXTOOLS_ERR_CONFIG, false, "parameters are required");306 psFree(where);307 return false;308 }309 310 if (state) {311 // set addRun.state to state312 if (!pxaddRunSetStateByQuery(config, where, state)) {313 psFree(where);314 return false;315 }316 }317 318 if (label) {319 // set addRun.label to label320 if (!pxaddRunSetLabelByQuery(config, where, label)) {321 psFree(where);322 return false;323 }324 }325 326 psFree(where);327 328 return true;329 #endif330 299 } 331 300
Note:
See TracChangeset
for help on using the changeset viewer.
