diff options
author | drh <drh@noemail.net> | 2010-05-30 19:55:15 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-05-30 19:55:15 +0000 |
commit | 73b64e4d2e6b95cc9f58ca30bb4dbaae90b7c185 (patch) | |
tree | f061713ee901059afe2e20cbc57237364024b7ed /src/os.c | |
parent | a7a0c615d7587c7f2f609a46db29e520dd5d5428 (diff) | |
download | sqlite-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |