Changeset 9178 for trunk/psLib/src/db/psDB.c
- Timestamp:
- Oct 3, 2006, 5:11:52 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
r9030 r9178 12 12 * @author Joshua Hoblitt 13 13 * 14 * @version $Revision: 1.9 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2006- 09-28 23:21:33$14 * @version $Revision: 1.94 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-10-04 03:11:52 $ 16 16 * 17 17 * Copyright (C) 2005-2006 Joshua Hoblitt, University of Hawaii … … 1316 1316 // look for regular keys 1317 1317 while ((item = psListGetAndIncrement(cursor))) { 1318 if (strstr(item->comment, "Key")) { 1318 // it's just a regular key if it matchs "Key" but not "Primary Key" 1319 if (strstr(item->comment, "Key") 1320 && (!strstr(item->comment, "Primary Key"))) { 1319 1321 psStringAppend(&query, ", KEY(%s)", item->name); 1320 1322 } else if (strstr(item->comment, "AUTO_INCREMENT")) {
Note:
See TracChangeset
for help on using the changeset viewer.
