mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Test another IO error case in wal.c.
FossilOrigin-Name: 8b3b5ab8fa61ca4ef22c98abaab397707ee74ea3
This commit is contained in:
@@ -490,12 +490,12 @@ static int tvfsShmGet(
|
||||
Testvfs *p = (Testvfs *)(pVfs->pAppData);
|
||||
TestvfsShm *pShm = (TestvfsShm *)pShmHandle;
|
||||
|
||||
tvfsGrowBuffer(pShm, reqMapSize, pMapSize);
|
||||
tvfsExecTcl(p, "xShmGet",
|
||||
Tcl_NewStringObj(pShm->pBuffer->zFile, -1), pShm->id, 0
|
||||
);
|
||||
tvfsResultCode(p, &rc);
|
||||
if( rc==SQLITE_OK ){
|
||||
tvfsGrowBuffer(pShm, reqMapSize, pMapSize);
|
||||
*pp = pShm->pBuffer->a;
|
||||
}
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user