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

Further coverage tests.

FossilOrigin-Name: 98a9713e0030a36ea99a18a12a2e7685c6db72b3
This commit is contained in:
dan
2010-05-06 15:56:28 +00:00
parent 84aab39782
commit d41a29a653
7 changed files with 37 additions and 16 deletions

View File

@@ -495,7 +495,9 @@ static int tvfsShmGet(
Tcl_NewStringObj(pShm->pBuffer->zFile, -1), pShm->id, 0
);
tvfsResultCode(p, &rc);
*pp = pShm->pBuffer->a;
if( rc==SQLITE_OK ){
*pp = pShm->pBuffer->a;
}
return rc;
}