diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index fee07cb27..5962d6824 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -4798,7 +4798,7 @@ static int unixShmUnlock( /* Compute locks held by sibling connections */ for(pX=pFile->pFirst; pX; pX=pX->pNext){ if( pX==p ) continue; - assert( (pX->exclMask & unlockMask)==0 ); + assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); allMask |= pX->sharedMask; } |