/ Check-in [717863fc]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a bug in the recent incremental-vacuum related changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 717863fca6d58828bf9321bc8b169e385ad4263f
User & Date: dan 2013-03-05 11:27:04
Context
2013-03-06
01:48
Add the SQLITE_READONLY_ROLLBACK extended error code. Do not try to set the permissions on journal or wal files except if the filesize is initially zero (indicating that it is a new file.) check-in: ce4ac66a user: drh tags: trunk
2013-03-05
16:54
Failed merge experimental branch with trunk. check-in: 4e6e07a6 user: dan tags: ex-robust-open
15:09
Add extended error code SQLITE_READONLY_ROLLBACK. Returned if a read-only connection cannot read the database because doing so would require it to roll back a hot-journal. check-in: 39247b14 user: dan tags: experimental
11:27
Fix a bug in the recent incremental-vacuum related changes. check-in: 717863fc user: dan tags: trunk
01:46
Simplified error message on the showdb utility. check-in: 8e0ced1a user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  3000   3000             releasePage(pLastPg);
  3001   3001             return rc;
  3002   3002           }
  3003   3003           releasePage(pFreePg);
  3004   3004         }while( bCommit && iFreePg>nFin );
  3005   3005         assert( iFreePg<iLastPg );
  3006   3006         
  3007         -      rc = relocatePage(pBt, pLastPg, eType, iPtrPage, iFreePg, nFin!=0);
         3007  +      rc = relocatePage(pBt, pLastPg, eType, iPtrPage, iFreePg, bCommit);
  3008   3008         releasePage(pLastPg);
  3009   3009         if( rc!=SQLITE_OK ){
  3010   3010           return rc;
  3011   3011         }
  3012   3012       }
  3013   3013     }
  3014   3014