IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 6, 2009, 3:25:03 PM (17 years ago)
Author:
eugene
Message:

converting to the new formatting version of p_psDBRunQueryF where appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptool.c

    r21308 r21402  
    809809    char *query = "DELETE FROM chipMask WHERE label = '%s'";
    810810
    811     if (!p_psDBRunQuery(config->dbh, query, label)) {
     811    if (!p_psDBRunQueryF(config->dbh, query, label)) {
    812812        psError(PS_ERR_UNKNOWN, false, "database error");
    813813        return false;
     
    11731173
    11741174    // 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)) {
    11761176        psError(PS_ERR_UNKNOWN, false, "database error");
    11771177        // rollback
     
    11891189
    11901190    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)) {
    11921192        // rollback
    11931193        if (!psDBRollback(config->dbh)) {
Note: See TracChangeset for help on using the changeset viewer.