|
@@ -35263,7 +35263,7 @@ static int unixLock(sqlite3_file *id, int eFileLock){
|
|
|
|
|
|
/* Make sure the locking sequence is correct.
|
|
/* Make sure the locking sequence is correct.
|
|
** (1) We never move from unlocked to anything higher than shared lock.
|
|
** (1) We never move from unlocked to anything higher than shared lock.
|
|
- ** (2) SQLite never explicitly requests a pendig lock.
|
|
|
|
|
|
+ ** (2) SQLite never explicitly requests a pending lock.
|
|
** (3) A shared lock is always held when a reserve lock is requested.
|
|
** (3) A shared lock is always held when a reserve lock is requested.
|
|
*/
|
|
*/
|
|
assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK );
|
|
assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK );
|
|
@@ -36481,7 +36481,7 @@ static int afpLock(sqlite3_file *id, int eFileLock){
|
|
|
|
|
|
/* Make sure the locking sequence is correct
|
|
/* Make sure the locking sequence is correct
|
|
** (1) We never move from unlocked to anything higher than shared lock.
|
|
** (1) We never move from unlocked to anything higher than shared lock.
|
|
- ** (2) SQLite never explicitly requests a pendig lock.
|
|
|
|
|
|
+ ** (2) SQLite never explicitly requests a pending lock.
|
|
** (3) A shared lock is always held when a reserve lock is requested.
|
|
** (3) A shared lock is always held when a reserve lock is requested.
|
|
*/
|
|
*/
|
|
assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK );
|
|
assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK );
|