mirror of
https://github.com/sqlite/sqlite.git
synced 2025-12-21 13:38:01 +03:00
Merge trunk enhancements into the file-info branch.
FossilOrigin-Name: 73e1e081e9f7fc0ece98222669d13abde16197f0befc3343246a9e7da7856f02
This commit is contained in:
@@ -4647,7 +4647,8 @@ static int unixShmSystemLock(
|
||||
|
||||
/* Locks are within range */
|
||||
assert( n>=1 && n<=SQLITE_SHM_NLOCK );
|
||||
assert( ofst>=UNIX_SHM_BASE && ofst<=(UNIX_SHM_DMS+SQLITE_SHM_NLOCK) );
|
||||
assert( ofst>=UNIX_SHM_BASE && ofst<=UNIX_SHM_DMS );
|
||||
assert( ofst+n-1<=UNIX_SHM_DMS );
|
||||
|
||||
if( pShmNode->hShm>=0 ){
|
||||
int res;
|
||||
|
||||
Reference in New Issue
Block a user