Changeset 21402 for trunk/ippTools/src/magicdstool.c
- Timestamp:
- Feb 6, 2009, 3:25:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/magicdstool.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/magicdstool.c
r20973 r21402 159 159 psFree(where); 160 160 161 if (!p_psDBRunQuery (config->dbh, query, whereClause)) {161 if (!p_psDBRunQueryF(config->dbh, query, whereClause)) { 162 162 psError(PS_ERR_UNKNOWN, false, "database error"); 163 163 psFree(whereClause); … … 215 215 216 216 217 if (!p_psDBRunQuery (config->dbh, query, magicSkyCellNumsWhere ? magicSkyCellNumsWhere : "")) {217 if (!p_psDBRunQueryF(config->dbh, query, magicSkyCellNumsWhere ? magicSkyCellNumsWhere : "")) { 218 218 psError(PS_ERR_UNKNOWN, false, "database error"); 219 219 psFree(magicSkyCellNumsWhere); … … 298 298 } 299 299 300 if (!p_psDBRunQuery (config->dbh, thisInsert, magic_id, exp_id)) {300 if (!p_psDBRunQueryF(config->dbh, thisInsert, magic_id, exp_id)) { 301 301 psError(PS_ERR_UNKNOWN, false, "database error"); 302 302 psFree(thisInsert); … … 560 560 } 561 561 562 if (!p_psDBRunQuery (config->dbh, query, magic_id)) {562 if (!p_psDBRunQueryF(config->dbh, query, magic_id)) { 563 563 psError(PS_ERR_UNKNOWN, false, "database error"); 564 564 psFree(query); … … 692 692 psFree(where); 693 693 694 if (!p_psDBRunQuery (config->dbh, query, magic_ds_id)) {694 if (!p_psDBRunQueryF(config->dbh, query, magic_ds_id)) { 695 695 psError(PS_ERR_UNKNOWN, false, "database error"); 696 696 psFree(query); … … 749 749 750 750 char *query = "UPDATE magicDSRun SET state = '%s' WHERE magic_ds_id = %" PRId64; 751 if (!p_psDBRunQuery (config->dbh, query, state, magic_ds_id)) {751 if (!p_psDBRunQueryF(config->dbh, query, state, magic_ds_id)) { 752 752 psError(PS_ERR_UNKNOWN, false, 753 753 "failed to change state for magic_id %" PRId64, magic_ds_id);
Note:
See TracChangeset
for help on using the changeset viewer.
