aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-25 13:40:03 +0000
committerdrh <drh@noemail.net>2010-05-25 13:40:03 +0000
commit1b78eaf0bae85574f7d4dac0c0d7e94abd016371 (patch)
treea29475d4a014eeb21bb48458818a3c4c17a11b12 /src/os_unix.c
parentca6b5baba43c74ce4de5370104b76c43d22fcb22 (diff)
downloadsqlite-1b78eaf0bae85574f7d4dac0c0d7e94abd016371.tar.gz
sqlite-1b78eaf0bae85574f7d4dac0c0d7e94abd016371.zip
Update header comments in wal.c to correctly describe the WAL file format.
Update the locking region offsets in os_unix.c and os_win.c and add assert() statement to verify that the locking region offsets are correct. FossilOrigin-Name: 40030c0739f821ea8ee188c28c579507f10448bc
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 6cb594478..48f4d3884 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3186,7 +3186,7 @@ struct unixShm {
/*
** Constants used for locking
*/
-#define UNIX_SHM_BASE 32 /* Byte offset of the first lock byte */
+#define UNIX_SHM_BASE 80 /* Byte offset of the first lock byte */
#define UNIX_SHM_DMS 0x01 /* Mask for Dead-Man-Switch lock */
#define UNIX_SHM_A 0x10 /* Mask for region locks... */
#define UNIX_SHM_B 0x20