Added the last_insert_rowid API function.  Improved documentation of
the random ROWID algorithm. (CVS 349)

FossilOrigin-Name: f74d61aaf3fec06cde2c4a6f1465f86ac9058ad2
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 1e49e61..11129c9 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
 *************************************************************************
 ** Internal interface definitions for SQLite.
 **
-** @(#) $Id: sqliteInt.h,v 1.76 2002/01/09 03:20:00 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.77 2002/01/16 21:00:27 drh Exp $
 */
 #include "sqlite.h"
 #include "hash.h"
@@ -181,6 +181,7 @@
   Hash idxHash;                 /* All (named) indices indexed by name */
   Hash tblDrop;                 /* Uncommitted DROP TABLEs */
   Hash idxDrop;                 /* Uncommitted DROP INDEXs */
+  int lastRowid;                /* ROWID of most recent insert */
   int nextRowid;                /* Next generated rowID */
 };