IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 13, 2007, 4:43:09 PM (18 years ago)
Author:
jhoblitt
Message:

add additional tracing to psDBLastInsertID()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.c

    r15269 r15615  
    2323 * 4.1.2 or newer is required.
    2424 *
    25  * $Id: psDB.c,v 1.147 2007-10-10 00:56:31 jhoblitt Exp $
     25 * $Id: psDB.c,v 1.148 2007-11-14 02:43:09 jhoblitt Exp $
    2626 */
    2727
     
    748748
    749749    // 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;
    751755}
    752756
Note: See TracChangeset for help on using the changeset viewer.