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

    r20310 r21402  
    592592                "       AND pzDownloadImfile.telescope = '%s'";
    593593
    594             if (!p_psDBRunQuery(config->dbh, query, exp_id, doneExp->exp_name, doneExp->camera, doneExp->telescope)) {
     594            if (!p_psDBRunQueryF(config->dbh, query, exp_id, doneExp->exp_name, doneExp->camera, doneExp->telescope)) {
    595595                psError(PS_ERR_UNKNOWN, false, "database error");
    596596                psFree(doneExp);
     
    915915
    916916    char *query = "UPDATE pzDownloadExp SET state = '%s' WHERE exp_name = '%s' and camera = '%s' and telescope = '%s'";
    917     if (!p_psDBRunQuery(config->dbh, query, state, exp_name, camera, telescope)) {
     917    if (!p_psDBRunQueryF(config->dbh, query, state, exp_name, camera, telescope)) {
    918918        psError(PS_ERR_UNKNOWN, false, "failed to change state for %s:%s:%s", exp_name, camera, telescope);
    919919        return false;
Note: See TracChangeset for help on using the changeset viewer.