mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Adjust the shared-memory locking range to account for the new version number
values in the wal-index header. FossilOrigin-Name: a6dc0df304876b51cef5402b0e21330f10aabccf
This commit is contained in:
@@ -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 */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user