aboutsummaryrefslogtreecommitdiff
path: root/src/wal.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2010-05-11 12:19:26 +0000
committerdan <dan@noemail.net>2010-05-11 12:19:26 +0000
commit5543759b1b27d9c954673bba3f032f2aa2e10a69 (patch)
tree26e55170195c13ec77a3e2c60627a26b27a7e518 /src/wal.h
parenta10069dd22e81b1b92771bd035a2f0f67b9d1e61 (diff)
downloadsqlite-5543759b1b27d9c954673bba3f032f2aa2e10a69.tar.gz
sqlite-5543759b1b27d9c954673bba3f032f2aa2e10a69.zip
Changes so that WAL and exclusive-locking mode work together.
FossilOrigin-Name: 71e7b1cf9f4cd02a2a9bc8a3e58acd7a7e3c7e60
Diffstat (limited to 'src/wal.h')
-rw-r--r--src/wal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wal.h b/src/wal.h
index c1b662d09..89e94869c 100644
--- a/src/wal.h
+++ b/src/wal.h
@@ -96,5 +96,10 @@ int sqlite3WalCheckpoint(
*/
int sqlite3WalCallback(Wal *pWal);
+/* Tell the wal layer that an EXCLUSIVE lock has been obtained (or released)
+** by the pager layer on the database file.
+*/
+int sqlite3WalExclusiveMode(Wal *pWal, int op);
+
#endif /* ifndef SQLITE_OMIT_WAL */
#endif /* _WAL_H_ */