Changeset 21402 for trunk/ippTools/src/faketool.c
- Timestamp:
- Feb 6, 2009, 3:25:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/faketool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/faketool.c
r20748 r21402 868 868 char *query = "DELETE FROM fakeMask WHERE label = '%s'"; 869 869 870 if (!p_psDBRunQuery (config->dbh, query, label)) {870 if (!p_psDBRunQueryF(config->dbh, query, label)) { 871 871 psError(PS_ERR_UNKNOWN, false, "database error"); 872 872 return false; … … 1155 1155 1156 1156 // note only updates if fakeRun.state = run_state 1157 if (!p_psDBRunQuery (config->dbh, query, data_state, fake_id, class_id, run_state)) {1157 if (!p_psDBRunQueryF(config->dbh, query, data_state, fake_id, class_id, run_state)) { 1158 1158 psError(PS_ERR_UNKNOWN, false, "database error"); 1159 1159 // rollback … … 1172 1172 1173 1173 query = pxDataGet("faketool_change_exp_state.sql"); 1174 if (!p_psDBRunQuery (config->dbh, query, data_state, fake_id, data_state)) {1174 if (!p_psDBRunQueryF(config->dbh, query, data_state, fake_id, data_state)) { 1175 1175 // rollback 1176 1176 if (!psDBRollback(config->dbh)) {
Note:
See TracChangeset
for help on using the changeset viewer.
