Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 15269)
+++ trunk/psLib/src/db/psDB.c	(revision 15615)
@@ -23,5 +23,5 @@
  * 4.1.2 or newer is required.
  *
- * $Id: psDB.c,v 1.147 2007-10-10 00:56:31 jhoblitt Exp $
+ * $Id: psDB.c,v 1.148 2007-11-14 02:43:09 jhoblitt Exp $
  */
 
@@ -748,5 +748,9 @@
 
     // XXX return type is actually my_ulonglong - should the return be psU64?
-    return (long)mysql_insert_id(dbh->mysql);
+    long long id = (long long)mysql_insert_id(dbh->mysql);
+
+    psTrace("psLib.db", PS_LOG_INFO, "LAST_INSERT_ID == %lld", id);
+
+    return id;
 }
 
