diff options
author | drh <drh@noemail.net> | 2010-06-23 17:58:38 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-06-23 17:58:38 +0000 |
commit | bd9676c19ee81c0a07b1e04443624a3727e1bcef (patch) | |
tree | 3fab33d8cffc386aca267ccf97e439d6bcf641b4 /src/os_unix.c | |
parent | 10f5a50e57d1f3e43bb86080dfd8d718f59ebefd (diff) | |
download | sqlite-bd9676c19ee81c0a07b1e04443624a3727e1bcef.tar.gz sqlite-bd9676c19ee81c0a07b1e04443624a3727e1bcef.zip |
Adjust the shared-memory locking range to account for the new version number
values in the wal-index header.
FossilOrigin-Name: a6dc0df304876b51cef5402b0e21330f10aabccf
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 77aafccce..6cad8f008 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3175,7 +3175,7 @@ struct unixShm { /* ** Constants used for locking */ -#define UNIX_SHM_BASE ((18+SQLITE_SHM_NLOCK)*4) /* first lock byte */ +#define UNIX_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */ #define UNIX_SHM_DMS (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */ /* |