aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2006-03-16 14:05:14 +0000
committerdrh <drh@noemail.net>2006-03-16 14:05:14 +0000
commit3bc0e05c61eb083ecca0499172393627ee86f34b (patch)
treecfdfb631ce52b0d2f46b2696f9688a204d98448f /src
parentfd2d26bb7debc8719d3958792adb59070febdbc3 (diff)
downloadsqlite-3bc0e05c61eb083ecca0499172393627ee86f34b.tar.gz
sqlite-3bc0e05c61eb083ecca0499172393627ee86f34b.zip
Make provisions in the code to support Provisions to support caching of
serialized statements in the SSE extension. (CVS 3139) FossilOrigin-Name: 5048fae04227857c064c0ba48eb11bedeb467df0
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
-rw-r--r--src/vdbeInt.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1561b1c43..44060403a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: main.c,v 1.337 2006/03/13 15:06:07 drh Exp $
+** $Id: main.c,v 1.338 2006/03/16 14:05:15 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -109,7 +109,7 @@ int sqlite3_close(sqlite3 *db){
}
#ifdef SQLITE_SSE
- sqlite3_finalize(db->pFetch);
+ sqlite3SseCleanup(db);
#endif
/* If there are any outstanding VMs, return SQLITE_BUSY. */
diff --git a/src/vdbeInt.h b/src/vdbeInt.h
index 2f29b17b6..01d6a61f1 100644
--- a/src/vdbeInt.h
+++ b/src/vdbeInt.h
@@ -317,6 +317,10 @@ struct Vdbe {
u8 minWriteFileFormat; /* Minimum file format for writable database files */
int nChange; /* Number of db changes made since last reset */
i64 startTime; /* Time when query started - used for profiling */
+#ifdef SQLITE_SSE
+ int fetchId; /* Statement number used by sqlite3_fetch_statement */
+ int lru; /* Counter used for LRU cache replacement */
+#endif
};
/*