diff options
author | drh <> | 2023-07-24 12:59:53 +0000 |
---|---|---|
committer | drh <> | 2023-07-24 12:59:53 +0000 |
commit | 5202b7ca75c02c59f7f74cb59598416ac107a93d (patch) | |
tree | 1034d78d2279bffbb087fec8be52b649fc24b898 /src/wal.c | |
parent | 66422b57f9892262c0d5638a0c5d165658fcee43 (diff) | |
parent | 479cfd5af3d46e70468eda8e31c4d033955bdd29 (diff) | |
download | sqlite-5202b7ca75c02c59f7f74cb59598416ac107a93d.tar.gz sqlite-5202b7ca75c02c59f7f74cb59598416ac107a93d.zip |
Update the latest trunk enhancements into the wal-shm-exceptions branch.
FossilOrigin-Name: 3187ee3f69fc28a259ba0e951ac10a65c07ef2c3866acbefaf9544333a930cc6
Diffstat (limited to 'src/wal.c')
-rw-r--r-- | src/wal.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1945,7 +1945,6 @@ static int walIteratorInit(Wal *pWal, u32 nBackfill, WalIterator **pp){ p->nSegment = nSegment; aTmp = (ht_slot*)&(((u8*)p)[nByte]); SEH_FREE_ON_ERROR(0, p); - for(i=walFramePage(nBackfill+1); rc==SQLITE_OK && i<nSegment; i++){ WalHashLoc sLoc; @@ -1973,7 +1972,6 @@ static int walIteratorInit(Wal *pWal, u32 nBackfill, WalIterator **pp){ p->aSegment[i].aPgno = (u32 *)sLoc.aPgno; } } - if( rc!=SQLITE_OK ){ SEH_FREE_ON_ERROR(p, 0); walIteratorFree(p); |