diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/vdbeInt.h | 4 |
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 }; /* |