mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix some problems with handling IO errors on the experimental branch.
FossilOrigin-Name: eade8bc238df580412f5cf1b91a91532ae671e46
This commit is contained in:
@@ -640,7 +640,7 @@ static int tvfsShmRelease(sqlite3_file *pFile){
|
||||
static void tvfsAllocPage(TestvfsBuffer *p, int iPage, int pgsz){
|
||||
assert( iPage<TESTVFS_MAX_PAGES );
|
||||
if( p->aPage[iPage]==0 ){
|
||||
p->aPage[iPage] = ckalloc(pgsz);
|
||||
p->aPage[iPage] = (u8 *)ckalloc(pgsz);
|
||||
memset(p->aPage[iPage], 0, pgsz);
|
||||
p->pgsz = pgsz;
|
||||
}
|
||||
|
Reference in New Issue
Block a user