IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6159


Ignore:
Timestamp:
Jan 21, 2006, 9:05:43 PM (20 years ago)
Author:
magnier
Message:

adding patch from josh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b1/psLib/src/db/psDB.c

    r5825 r6159  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.44.16.1 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-12-23 01:59:10 $
     14 *  @version $Revision: 1.44.16.2 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-01-22 07:05:43 $
    1616 *
    1717 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    12581258        } else if (item->type == PS_DATA_STRING) {
    12591259            // + column name + _ + like + _ + ' + value + '
    1260             if (*(char *)item->data.V == '\0') {
     1260            // check for NULL and empty ("") strings
     1261            if (item->data.V == NULL || *(char *)item->data.V == '\0') {
    12611262                psStringAppend(&query, "%s IS NULL", item->name);
    12621263            } else {
Note: See TracChangeset for help on using the changeset viewer.