1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Tweaks to improve testability.

FossilOrigin-Name: e3a929e43180f41095cc2cd00c6b0781856a4474
This commit is contained in:
drh
2012-01-01 13:58:53 +00:00
parent b8a45bbdb8
commit 20e226d979
4 changed files with 10 additions and 9 deletions

View File

@@ -2857,7 +2857,7 @@ int sqlite3WalFrames(
iFrame++;
rc = walIndexAppend(pWal, iFrame, p->pgno);
}
while( nExtra>0 && rc==SQLITE_OK ){
while( rc==SQLITE_OK && nExtra>0 ){
iFrame++;
nExtra--;
rc = walIndexAppend(pWal, iFrame, pLast->pgno);