Changeset 21402 for trunk/ippTools/src/chiptool.c
- Timestamp:
- Feb 6, 2009, 3:25:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/chiptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptool.c
r21308 r21402 809 809 char *query = "DELETE FROM chipMask WHERE label = '%s'"; 810 810 811 if (!p_psDBRunQuery (config->dbh, query, label)) {811 if (!p_psDBRunQueryF(config->dbh, query, label)) { 812 812 psError(PS_ERR_UNKNOWN, false, "database error"); 813 813 return false; … … 1173 1173 1174 1174 // note only updates if chipRun.state = run_state 1175 if (!p_psDBRunQuery (config->dbh, query, data_state, chip_id, class_id, run_state)) {1175 if (!p_psDBRunQueryF(config->dbh, query, data_state, chip_id, class_id, run_state)) { 1176 1176 psError(PS_ERR_UNKNOWN, false, "database error"); 1177 1177 // rollback … … 1189 1189 1190 1190 query = pxDataGet("chiptool_change_exp_state.sql"); 1191 if (!p_psDBRunQuery (config->dbh, query, data_state, chip_id, data_state)) {1191 if (!p_psDBRunQueryF(config->dbh, query, data_state, chip_id, data_state)) { 1192 1192 // rollback 1193 1193 if (!psDBRollback(config->dbh)) {
Note:
See TracChangeset
for help on using the changeset viewer.
