IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2008, 4:19:52 PM (18 years ago)
Author:
jhoblitt
Message:

add epoch fields to pz*, new*, & raw* tables

File:
1 edited

Legend:

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

    r17611 r17872  
    9191
    9292    if (!newExpInsert(config->dbh,
    93                 0x0, // exp_id
     93                0x0,    // exp_id
    9494                tmp_exp_name,
    9595                tmp_camera,
    9696                tmp_telescope,
    97                 "reg", // state
     97                "reg",  // state
    9898                workdir,
    9999                "dirty",
     
    101101                dvodb,
    102102                tess_id,
    103             end_stage,
    104               label
     103                end_stage,
     104                label,
     105                NULL    // epoch
    105106            )
    106107        ) {
     
    141142
    142143    // insert with error flag state set to 0 (no errors)
    143     if (!newImfileInsert(config->dbh, (psS64)atoll(exp_id), tmp_class_id, uri)) {
     144    if (!newImfileInsert(config->dbh, (psS64)atoll(exp_id), tmp_class_id, uri, NULL)) {
    144145        psError(PS_ERR_UNKNOWN, false, "database error");
    145146        return false;
Note: See TracChangeset for help on using the changeset viewer.