IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3195


Ignore:
Timestamp:
Feb 11, 2005, 11:52:33 AM (21 years ago)
Author:
jhoblitt
Message:

fix error checking in psDBGenerateSelectRowsSQL() & psDBGenerateWhereSQL()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/psdb/psDB.c

    r3194 r3195  
    88 *  @author Joshua Hoblitt
    99 *
    10  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-02-11 21:46:13 $
     10 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-02-11 21:52:33 $
    1212 *
    1313 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    873873    psMetadataItem  *item;
    874874
     875    if (!where) {
     876        return NULL;
     877    }
     878
    875879    // init query with a psMemBlock
    876880    query = psStringCopy("WHERE ");
     
    10461050
    10471051    // select everything if where is NULL
    1048     if (!where) {
     1052    if (where) {
    10491053        psStringAppend(&query, " ");
    10501054
Note: See TracChangeset for help on using the changeset viewer.