diff options
Diffstat (limited to '')
-rw-r--r-- | www/c3ref/io_methods.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/c3ref/io_methods.html b/www/c3ref/io_methods.html index 67ddcd0..033a806 100644 --- a/www/c3ref/io_methods.html +++ b/www/c3ref/io_methods.html @@ -178,10 +178,11 @@ and not its inode needs to be synced.</p> </ul> 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 +xLock() is always one of SHARED, RESERVED, PENDING, or EXCLUSIVE, never SQLITE_LOCK_NONE. If the database file lock is already at or above the requested lock, then the call to xLock() is a no-op. xUnlock() downgrades the database file lock to either SHARED or NONE. +If the lock is already at or below the requested lock state, then the call to xUnlock() is a no-op. The xCheckReservedLock() method checks whether any database connection, either in this process or in some other process, is holding a RESERVED, |