Changeset 9690
- Timestamp:
- Oct 20, 2006, 3:09:37 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r9681 r9690 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.10 5$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-10-21 0 0:33:00$14 * @version $Revision: 1.106 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-10-21 01:09:37 $ 16 16 * 17 17 * Copyright (C) 2005-2006 Joshua Hoblitt, University of Hawaii … … 880 880 psMetadata *rowData = rowSet->data[j]; 881 881 882 psDBMysqlRowRecycle(mysqlRow);883 884 882 if (!psDBPackMySQLRow(mysqlRow, rowData)) { 885 883 psError(PS_ERR_UNKNOWN, false, "Failed to pack params into bind structure."); … … 908 906 return -1; 909 907 } 908 909 // free temporary buffers 910 psDBMysqlRowRecycle(mysqlRow); 911 910 912 } // end loop over rows 911 913 … … 1168 1170 1169 1171 bind[i].buffer = myTime; 1170 bind[i].buffer_length = 0;1172 bind[i].buffer_length = sizeof(MYSQL_TIME); 1171 1173 bind[i].length = &bind[i].buffer_length; 1172 1174 bind[i].is_null = NULL; … … 1232 1234 } 1233 1235 } 1236 1237 memset(bind, '\0', sizeof(MYSQL_BIND) * mysqlRow->n); 1234 1238 } 1235 1239
Note:
See TracChangeset
for help on using the changeset viewer.
