aboutsummaryrefslogtreecommitdiff
path: root/src/os.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-30 19:55:15 +0000
committerdrh <drh@noemail.net>2010-05-30 19:55:15 +0000
commit73b64e4d2e6b95cc9f58ca30bb4dbaae90b7c185 (patch)
treef061713ee901059afe2e20cbc57237364024b7ed /src/os.c
parenta7a0c615d7587c7f2f609a46db29e520dd5d5428 (diff)
downloadsqlite-73b64e4d2e6b95cc9f58ca30bb4dbaae90b7c185.tar.gz
sqlite-73b64e4d2e6b95cc9f58ca30bb4dbaae90b7c185.zip
Initial code for incremental checkpoint in WAL mode. This check-in compiles
on unix and runs as long as you do not engage WAL mode. WAL mode crashes and burns. Consider this check-in a baseline implementation for getting the new capability up and running. FossilOrigin-Name: ef3ba7a17ff90674d702e5694b9e792851ab6998
Diffstat (limited to 'src/os.c')
-rw-r--r--src/os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os.c b/src/os.c
index 059365400..0b17a6b63 100644
--- a/src/os.c
+++ b/src/os.c
@@ -110,8 +110,8 @@ int sqlite3OsShmGet(sqlite3_file *id,int reqSize,int *pSize,void volatile **pp){
int sqlite3OsShmRelease(sqlite3_file *id){
return id->pMethods->xShmRelease(id);
}
-int sqlite3OsShmLock(sqlite3_file *id, int desiredLock, int *pGotLock){
- return id->pMethods->xShmLock(id, desiredLock, pGotLock);
+int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){
+ return id->pMethods->xShmLock(id, offset, n, flags);
}
void sqlite3OsShmBarrier(sqlite3_file *id){
id->pMethods->xShmBarrier(id);