1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix a bug in test_vfs.c causing an assert to fail. Changes to test code only.

FossilOrigin-Name: 336ce7d29767f76c4a92aa4bbc46d21e19871667
This commit is contained in:
dan
2010-07-02 19:04:59 +00:00
parent 84b9618231
commit 5257af7dba
3 changed files with 8 additions and 7 deletions

View File

@@ -910,6 +910,7 @@ static int tvfsShmClose(
for(ppFd=&pBuffer->pFile; *ppFd!=pFd; ppFd=&((*ppFd)->pNext));
assert( (*ppFd)==pFd );
*ppFd = pFd->pNext;
pFd->pNext = 0;
if( pBuffer->pFile==0 ){
int i;