Changeset 21402 for trunk/ippTools/src/warptool.c
- Timestamp:
- Feb 6, 2009, 3:25:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/warptool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/warptool.c
r21308 r21402 746 746 psS64 warp_id = item->data.S64; 747 747 748 if (!p_psDBRunQuery (config->dbh, query, warp_id, skycell_id)) {748 if (!p_psDBRunQueryF(config->dbh, query, warp_id, skycell_id)) { 749 749 psError(PS_ERR_UNKNOWN, false, "database error"); 750 750 return false; … … 1385 1385 char *query = "DELETE FROM warpMask WHERE label = '%s'"; 1386 1386 1387 if (!p_psDBRunQuery (config->dbh, query, label)) {1387 if (!p_psDBRunQueryF(config->dbh, query, label)) { 1388 1388 psError(PS_ERR_UNKNOWN, false, "database error"); 1389 1389 return false; … … 1620 1620 1621 1621 // note only updates if warpRun.state = run_state 1622 if (!p_psDBRunQuery (config->dbh, query, data_state, warp_id, skycell_id, run_state)) {1622 if (!p_psDBRunQueryF(config->dbh, query, data_state, warp_id, skycell_id, run_state)) { 1623 1623 psError(PS_ERR_UNKNOWN, false, "database error"); 1624 1624 // rollback … … 1632 1632 1633 1633 query = pxDataGet("warptool_change_run_state.sql"); 1634 if (!p_psDBRunQuery (config->dbh, query, data_state, warp_id, data_state)) {1634 if (!p_psDBRunQueryF(config->dbh, query, data_state, warp_id, data_state)) { 1635 1635 // rollback 1636 1636 if (!psDBRollback(config->dbh)) { … … 1672 1672 psString query = pxDataGet("warptool_updateskyfile.sql"); 1673 1673 1674 if (!p_psDBRunQuery (config->dbh, query, code, warp_id, skycell_id)) {1674 if (!p_psDBRunQueryF(config->dbh, query, code, warp_id, skycell_id)) { 1675 1675 psError(PS_ERR_UNKNOWN, false, "database error"); 1676 1676 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
