IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6105


Ignore:
Timestamp:
Jan 20, 2006, 4:56:11 PM (21 years ago)
Author:
jhoblitt
Message:

deactivate searching on time
more cleanups

File:
1 edited

Legend:

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

    r6063 r6105  
    1616
    1717    // in order to include these restrictions, we need to define these table columns
    18     if (config->camera != NULL) {
    19         psMetadataAddStr (where, PS_LIST_TAIL, "CAMERA", 0, "==", config->camera_name);
     18    if (config->camera_name != NULL) {
     19        psMetadataAddStr (where, PS_LIST_TAIL, "camera", 0, "==",
     20            config->camera_name);
    2021    }
    2122    if (config->filter != NULL) {
    22     psMetadataAddStr (where, PS_LIST_TAIL, "FILTER", 0, "==", config->filter);
     23        psMetadataAddStr (where, PS_LIST_TAIL, "FILTER", 0, "==",
     24            config->filter);
    2325    }
     26    /*
    2427    if (!psTimeIsZero(config->start) && !psTimeIsZero(config->stop)) {
    2528    psMetadataAddTime (where, PS_LIST_TAIL, "TIME_START", 0, "<", config->stop);
    2629    psMetadataAddTime (where, PS_LIST_TAIL, "TIME_STOP", 0, ">", config->start);
    2730    }
     31    */
    2832
    2933    psArray *exposures = p2PendingExpSelectRowObjects (config->database, where, MAX_ROWS);
Note: See TracChangeset for help on using the changeset viewer.