mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Further simplifications to the SHM locking logic. Remove the SQLITE_SHM_QUERY
option. Unify the WRITE to READ and RECOVER to READ transitions. FossilOrigin-Name: e9bfa6e4ce7d1edc6be8b9173ac3b6bfd180632a
This commit is contained in:
@@ -879,10 +879,7 @@ struct sqlite3_vfs {
|
||||
** CAPI3REF: Flags for the xShmLock VFS method
|
||||
**
|
||||
** These integer constants define the various locking states that
|
||||
** an sqlite3_shm object can be in. The SQLITE_SHM_QUERY integer
|
||||
** is not a valid data - it is a constant pasted to the
|
||||
** sqlite3_vfs.xShmLock() method for querying the current lock
|
||||
** state.
|
||||
** an sqlite3_shm object can be in.
|
||||
*/
|
||||
#define SQLITE_SHM_UNLOCK 0
|
||||
#define SQLITE_SHM_READ 1
|
||||
@@ -891,7 +888,6 @@ struct sqlite3_vfs {
|
||||
#define SQLITE_SHM_PENDING 4
|
||||
#define SQLITE_SHM_CHECKPOINT 5
|
||||
#define SQLITE_SHM_RECOVER 6
|
||||
#define SQLITE_SHM_QUERY (-1)
|
||||
|
||||
/*
|
||||
** CAPI3REF: Initialize The SQLite Library
|
||||
|
||||
Reference in New Issue
Block a user