aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os_unix.c2
-rw-r--r--src/os_win.c2
2 files changed, 2 insertions, 2 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 */
/*
diff --git a/src/os_win.c b/src/os_win.c
index 3803d9822..188e1f752 100644
--- a/src/os_win.c
+++ b/src/os_win.c
@@ -1265,7 +1265,7 @@ struct winShm {
/*
** Constants used for locking
*/
-#define WIN_SHM_BASE ((18+SQLITE_SHM_NLOCK)*4) /* first lock byte */
+#define WIN_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */
#define WIN_SHM_DMS (WIN_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */
/*