From 62a67b10ff9f9eea6a4695649fb8252d2a4bc74d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Jun 2024 07:16:44 +0200 Subject: Merging upstream version 3.46.0. Signed-off-by: Daniel Baumann --- www/c3ref/io_methods.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/c3ref/io_methods.html') 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.

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, -- cgit v1.2.3