IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2007, 3:54:37 PM (19 years ago)
Author:
jhoblitt
Message:

add dateobs to pztool -pendingimfile output

File:
1 edited

Legend:

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

    r15032 r15062  
    2828
    2929#include "pxtools.h"
     30#include "pxdata.h"
    3031#include "pztool.h"
    3132
     
    217218    }
    218219
    219     psString query = psStringCopy(
    220             "SELECT"
    221             "   summitImfile.*"
    222             " FROM pzPendingImfile"
    223             " JOIN summitImfile"
    224             "   USING(exp_name, camera, telescope, class, class_id)"
    225         );
     220    psString query = pxDataGet("pztool_pendingimfile.sql");
     221    if (!query) {
     222        psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");
     223        return false;
     224    }
    226225
    227226    if (config->where) {
Note: See TracChangeset for help on using the changeset viewer.