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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 91f641e05..c6ca5fc46 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3399,10 +3399,6 @@ static int unixShmClose(
assert( pShmNode==pDbFd->pInode->pShmNode );
assert( pShmNode->pInode==pDbFd->pInode );
- /* Verify that the connection being closed holds no locks */
- assert( p->exclMask==0 );
- assert( p->sharedMask==0 );
-
/* Remove connection p from the set of connections associated
** with pShmNode */
sqlite3_mutex_enter(pShmNode->mutex);