Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 6914)
+++ trunk/psLib/src/db/psDB.c	(revision 7050)
@@ -12,6 +12,6 @@
  *  @author Joshua Hoblitt
  *
- *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-04-20 02:22:28 $
+ *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-05-03 02:35:37 $
  *
  *  Copyright 2005 Joshua Hoblitt, University of Hawaii
@@ -883,4 +883,10 @@
 
     return rows;
+}
+
+long psDBLastInsertID(psDB *dbh)
+{
+    // XXX return type is actually my_ulonglong - should the return be psU64?
+    return (long)mysql_insert_id(dbh->mysql);
 }
 
