diff options
author | drh <drh@noemail.net> | 2010-05-03 13:37:30 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-05-03 13:37:30 +0000 |
commit | b033d8b9dc764aea4d125942420222484711b172 (patch) | |
tree | 52e050edbab374280b6b50ab69f62ec43bc96184 /src/sqliteInt.h | |
parent | 87c1fe1b69aa55598c3ba5d8a0bb9cf76ed8dda1 (diff) | |
download | sqlite-b033d8b9dc764aea4d125942420222484711b172.tar.gz sqlite-b033d8b9dc764aea4d125942420222484711b172.zip |
Make sure the mutex is held while calling sqlite3ApiExit() in
sqlite3_wal_checkpoint(). Other cleanup of WAL logic.
FossilOrigin-Name: 11a85b821abff1ecb7ec8c37bc7783be9fc4ea6d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index c216816f6..842917a9b 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -824,7 +824,6 @@ struct sqlite3 { void *pUpdateArg; void (*xUpdateCallback)(void*,int, const char*,const char*,sqlite_int64); #ifndef SQLITE_OMIT_WAL - int nAutoCheckpoint; /* Value configured by wal_autocheckpoint() */ int (*xWalCallback)(void *, sqlite3 *, const char *, int); void *pWalArg; #endif @@ -3000,6 +2999,7 @@ int sqlite3TempInMemory(const sqlite3*); VTable *sqlite3GetVTable(sqlite3*, Table*); const char *sqlite3JournalModename(int); int sqlite3Checkpoint(sqlite3*, int); +int sqlite3WalDefaultHook(void*,sqlite3*,const char*,int); /* Declarations for functions in fkey.c. All of these are replaced by ** no-op macros if OMIT_FOREIGN_KEY is defined. In this case no foreign |