mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Add missing comments associated with readonly shm changes.
FossilOrigin-Name: 6a2ea52e6c09a570428161090c2f087c66f714ec
This commit is contained in:
@@ -406,6 +406,14 @@ struct WalCkptInfo {
|
||||
/*
|
||||
** An open write-ahead log file is represented by an instance of the
|
||||
** following object.
|
||||
**
|
||||
** The readOnlyShm variable is normally set to 0. If it is set to 1, then
|
||||
** the connection to shared-memory is read-only. This means it cannot
|
||||
** be written at all (even when read-locking the database). If it is set
|
||||
** to 2, then the shared-memory region is not yet open, but a read-only
|
||||
** connection is acceptable. In this case when the shared-memory is opened
|
||||
** (see function walIndexPage()), readOnlyShm is set to either 0 or 1 as
|
||||
** appropriate.
|
||||
*/
|
||||
struct Wal {
|
||||
sqlite3_vfs *pVfs; /* The VFS used to create pDbFd */
|
||||
|
Reference in New Issue
Block a user