diff options
author | dan <dan@noemail.net> | 2010-04-30 09:52:17 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2010-04-30 09:52:17 +0000 |
commit | 4c97b53425204533345bb58185157d2e6e3eded5 (patch) | |
tree | ddf10e12056b82697adbd933b068f8304cfb7f3a /src/os_unix.c | |
parent | ba51590bcd443671d09f9320be2a218e58e26232 (diff) | |
download | sqlite-4c97b53425204533345bb58185157d2e6e3eded5.tar.gz sqlite-4c97b53425204533345bb58185157d2e6e3eded5.zip |
Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo().
FossilOrigin-Name: a8f958be804ee05c4137b3cd110db344713af5f2
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; } |