Changeset 17871
- Timestamp:
- May 30, 2008, 4:16:52 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.c
r17869 r17871 23 23 * 4.1.2 or newer is required. 24 24 * 25 * $Id: psDB.c,v 1.1 59 2008-05-31 00:42:35jhoblitt Exp $25 * $Id: psDB.c,v 1.160 2008-05-31 02:16:52 jhoblitt Exp $ 26 26 */ 27 27 … … 2321 2321 // signed or unsigned. The result is this ugly conversion from 2322 2322 // mysql -> ascii -> ptype 2323 if (flags & UNSIGNED_FLAG) { 2323 // XXX it appears that TIMESTAMP fields get marked as being unsigned... 2324 if ((flags & UNSIGNED_FLAG) && strncmp(sqlType, "DATETIME", 9)) { 2324 2325 psString new = NULL; 2325 2326 psStringAppend(&new, "%s UNSIGNED", sqlType);
Note:
See TracChangeset
for help on using the changeset viewer.
