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/faketool.c

    r20748 r21402  
    868868    char *query = "DELETE FROM fakeMask WHERE label = '%s'";
    869869
    870     if (!p_psDBRunQuery(config->dbh, query, label)) {
     870    if (!p_psDBRunQueryF(config->dbh, query, label)) {
    871871        psError(PS_ERR_UNKNOWN, false, "database error");
    872872        return false;
     
    11551155
    11561156    // 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)) {
    11581158        psError(PS_ERR_UNKNOWN, false, "database error");
    11591159        // rollback
     
    11721172
    11731173    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)) {
    11751175        // rollback
    11761176        if (!psDBRollback(config->dbh)) {
Note: See TracChangeset for help on using the changeset viewer.