mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix another problem in test_vfs.c.
FossilOrigin-Name: df7d59899ceb2743764b0433cb68f4bc33f16344
This commit is contained in:
@@ -603,10 +603,9 @@ static int tvfsShmGet(
|
||||
if( rc==SQLITE_OK && p->mask&TESTVFS_SHMGET_MASK && tvfsInjectIoerr(p) ){
|
||||
rc = SQLITE_IOERR;
|
||||
}
|
||||
if( rc==SQLITE_OK ){
|
||||
tvfsGrowBuffer(pFd, reqMapSize, pMapSize);
|
||||
*pp = pFd->pShm->a;
|
||||
}
|
||||
|
||||
*pMapSize = pFd->pShm->n;
|
||||
*pp = pFd->pShm->a;
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user