aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index e1ed575b0..72c446ea7 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4832,7 +4832,6 @@ static int unixShmLock(
#ifdef SQLITE_ENABLE_SETLK_TIMEOUT
assert( (flags & SQLITE_SHM_UNLOCK) || pDbFd->iBusyTimeout==0 || (
(ofst!=2) /* not RECOVER */
- && (n==1) /* Single lock only */
&& (ofst!=1 || (p->exclMask|p->sharedMask)==0)
&& (ofst!=0 || (p->exclMask|p->sharedMask)<3)
&& (ofst<3 || (p->exclMask|p->sharedMask)<(1<<ofst))