Changeset 8305 for trunk/psLib/src/db/psDB.c
- Timestamp:
- Aug 11, 2006, 5:33:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r8270 r8305 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.8 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-08-1 0 21:36:54$14 * @version $Revision: 1.81 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-08-12 03:33:15 $ 16 16 * 17 17 * Copyright (C) 2005-2006 Joshua Hoblitt, University of Hawaii … … 1492 1492 PS_ASSERT_PTR_NON_NULL(where, NULL); 1493 1493 1494 char *query = psStringCopy("WHERE "); 1494 psString search = psDBGenerateWhereConditionSQL(where); 1495 if (search) { 1496 psStringPrepend(&search, "WHERE "); 1497 } 1498 1499 return search; 1500 } 1501 1502 char *psDBGenerateWhereConditionSQL(const psMetadata *where) 1503 { 1504 PS_ASSERT_PTR_NON_NULL(where, NULL); 1505 1506 char *query = NULL; 1495 1507 1496 1508 // we need to know if an item is 'MULTI' so we have to march through the
Note:
See TracChangeset
for help on using the changeset viewer.
