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

Fix a bug in the recent incremental-vacuum related changes.

FossilOrigin-Name: 717863fca6d58828bf9321bc8b169e385ad4263f
This commit is contained in:
dan
2013-03-05 11:27:04 +00:00
parent edf9a17b47
commit e1df4e31ec
3 changed files with 9 additions and 9 deletions

View File

@@ -3004,7 +3004,7 @@ static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit){
}while( bCommit && iFreePg>nFin );
assert( iFreePg<iLastPg );
rc = relocatePage(pBt, pLastPg, eType, iPtrPage, iFreePg, nFin!=0);
rc = relocatePage(pBt, pLastPg, eType, iPtrPage, iFreePg, bCommit);
releasePage(pLastPg);
if( rc!=SQLITE_OK ){
return rc;