Changeset 15615 for trunk/psLib/src/db/psDB.c
- Timestamp:
- Nov 13, 2007, 4:43:09 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
r15269 r15615 23 23 * 4.1.2 or newer is required. 24 24 * 25 * $Id: psDB.c,v 1.14 7 2007-10-10 00:56:31jhoblitt Exp $25 * $Id: psDB.c,v 1.148 2007-11-14 02:43:09 jhoblitt Exp $ 26 26 */ 27 27 … … 748 748 749 749 // XXX return type is actually my_ulonglong - should the return be psU64? 750 return (long)mysql_insert_id(dbh->mysql); 750 long long id = (long long)mysql_insert_id(dbh->mysql); 751 752 psTrace("psLib.db", PS_LOG_INFO, "LAST_INSERT_ID == %lld", id); 753 754 return id; 751 755 } 752 756
Note:
See TracChangeset
for help on using the changeset viewer.
