Changeset 7977
- Timestamp:
- Jul 25, 2006, 3:38:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r7976 r7977 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.7 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-07-26 01:3 7:54$14 * @version $Revision: 1.73 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-07-26 01:38:05 $ 16 16 * 17 17 * Copyright 2005 Joshua Hoblitt, University of Hawaii … … 1041 1041 1042 1042 // loop over fields 1043 psU32 i = 0;1044 1043 psMetadataItem *item = NULL; // field in row 1045 while ((item = psListGetAndIncrement(cursor))) {1044 for (psU32 i = 0; (item = psListGetAndIncrement(cursor)); i++) { 1046 1045 // lookup pType -> mysql type 1047 1046 mType = psDBPTypeToMySQL(item->type); … … 1151 1150 return false; 1152 1151 } 1153 1154 // increment field index1155 i++;1156 1152 } 1157 1153
Note:
See TracChangeset
for help on using the changeset viewer.
