aboutsummaryrefslogtreecommitdiff
path: root/src/wal.c
diff options
context:
space:
mode:
authordrh <>2023-07-24 12:59:53 +0000
committerdrh <>2023-07-24 12:59:53 +0000
commit5202b7ca75c02c59f7f74cb59598416ac107a93d (patch)
tree1034d78d2279bffbb087fec8be52b649fc24b898 /src/wal.c
parent66422b57f9892262c0d5638a0c5d165658fcee43 (diff)
parent479cfd5af3d46e70468eda8e31c4d033955bdd29 (diff)
downloadsqlite-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wal.c b/src/wal.c
index 6c153d65b..48f558620 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -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);