1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix an incorrect, though harmless, assert() in the unix VFS.

FossilOrigin-Name: 4692ae84f93530e27d7c106a60236355e176b7fd
This commit is contained in:
drh
2015-12-02 17:40:13 +00:00
parent ab37277367
commit af19f173d3
3 changed files with 8 additions and 8 deletions

View File

@@ -4045,7 +4045,7 @@ static int unixShmSystemLock(
assert( n==1 || lockType!=F_RDLCK );
/* Locks are within range */
assert( n>=1 && n<SQLITE_SHM_NLOCK );
assert( n>=1 && n<=SQLITE_SHM_NLOCK );
if( pShmNode->h>=0 ){
/* Initialize the locking parameters */