aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-31 20:28:37 +0000
committerdrh <drh@noemail.net>2010-05-31 20:28:37 +0000
commit61e4acecf48acd9569ba947a863ca518fa442236 (patch)
treef39348642efb7d45a63a8328b4edff13c91f46f4 /src/os_unix.c
parent4b82c387c99dee9e230737d66967086811dbdec5 (diff)
downloadsqlite-61e4acecf48acd9569ba947a863ca518fa442236.tar.gz
sqlite-61e4acecf48acd9569ba947a863ca518fa442236.zip
Fix issues with locking_mode=EXCLUSIVE in WAL.
FossilOrigin-Name: 8deba0cebd135a18da68530fab9e7d19dc21ddcb
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);