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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user