Changeset 8251 for trunk/psLib/src/db/psDB.c
- Timestamp:
- Aug 8, 2006, 6:30:00 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r8232 r8251 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.7 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-08-0 8 23:32:22$14 * @version $Revision: 1.79 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-08-09 04:30:00 $ 16 16 * 17 17 * Copyright (C) 2005-2006 Joshua Hoblitt, University of Hawaii … … 37 37 #include "psError.h" 38 38 #include "psString.h" 39 #include "psTrace.h" 39 40 40 41 … … 83 84 static char *psDBGenerateDeleteRowSQL(const char *tableName, const psMetadata *where, 84 85 unsigned long long limit); 85 static char *psDBGenerateWhereSQL(const psMetadata *where);86 86 static char *psDBGenerateSetSQL(const psMetadata *set 87 87 ); … … 795 795 } 796 796 va_end(argPtr); 797 798 psTrace("psLib.db", PS_LOG_INFO, "Executing SQL: %s", query); 799 797 800 if (mysql_real_query(dbh->mysql, query, (unsigned long)strlen(query)) !=0) { 798 801 //The following if statement was added to standardize outputs between platforms for testing purposes. … … 836 839 } 837 840 va_end(argPtr); 841 842 psTrace("psLib.db", PS_LOG_INFO, "Executing SQL: %s", query); 838 843 839 844 // Prepare SQL statement … … 1461 1466 } 1462 1467 1463 staticchar *psDBGenerateWhereSQL(const psMetadata *where)1468 char *psDBGenerateWhereSQL(const psMetadata *where) 1464 1469 { 1465 1470 PS_ASSERT_PTR_NON_NULL(where, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
