IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11427


Ignore:
Timestamp:
Jan 29, 2007, 7:29:42 PM (19 years ago)
Author:
jhoblitt
Message:

support time_[begin|end] being NULL

File:
1 edited

Legend:

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

    r11204 r11427  
    152152            }
    153153
     154            // the == NULL tests invokes some psDB magic to make an OR
     155            // conditional query
    154156            psMetadataAddTime(where, PS_LIST_TAIL, "time_begin", 0, "<=", time);
     157            psMetadataAddTime(where, PS_LIST_TAIL, "time_begin", PS_META_DUPLICATE_OK, "==", NULL);
    155158            psMetadataAddTime(where, PS_LIST_TAIL, "time_end", 0, ">=", time);
     159            psMetadataAddTime(where, PS_LIST_TAIL, "time_end", PS_META_DUPLICATE_OK, "==", NULL);
    156160            psFree(time);
    157161        }
Note: See TracChangeset for help on using the changeset viewer.