SQLite User Forum

VFS Docs Typo
Login

VFS Docs Typo

(1.1) By tlaverdure on 2024-02-23 17:23:56 edited from 1.0 [source]

xLock() upgrades the database file lock. In other words, xLock() moves the database file lock in the direction NONE toward EXCLUSIVE. The argument to xLock() is always on of SHARED, RESERVED, PENDING, or EXCLUSIVE, never SQLITE_LOCK_NONE

https://www.sqlite.org/c3ref/io_methods.html

Should be "one of"

(2) By tlaverdure on 2024-02-23 16:57:54 in reply to 1.0 [link] [source]

xUnlock() downgrades the database file lock to either SHARED or NONE. to xUnlock() is a no-op.

This sentence also appears to be a typo.