/ Check-in [8e5e74c6]
Login

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

Overview
Comment:Fix comment typos. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8e5e74c66b9cdb348392e3db2d9f32cfa20fcec35bf09d9e1f623e7ad875ec97
User & Date: drh 2018-01-23 13:30:38
Context
2018-01-23
14:01
In SQLITE_ENABLE_BATCH_ATOMIC_WRITE builds on F2FS file-systems, invoke SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE if an SQLITE_FCNTL_COMMIT_ATOMIC_WRITE call fails. Also, do not use an atomic transaction to create the initial database. This is because if an error occurs while writing to the db file, any changes to the file-size do not seem to be rolled back automatically. The only time this matters is when the file was 0 bytes in size to start with. check-in: b3122db1 user: dan tags: trunk
13:30
Fix comment typos. No changes to code. check-in: 8e5e74c6 user: drh tags: trunk
07:11
Skip defining WIN32_LEAN_AND_MEAN when it is already defined. check-in: 195f5323 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  6185   6185   static void freePage(MemPage *pPage, int *pRC){
  6186   6186     if( (*pRC)==SQLITE_OK ){
  6187   6187       *pRC = freePage2(pPage->pBt, pPage, pPage->pgno);
  6188   6188     }
  6189   6189   }
  6190   6190   
  6191   6191   /*
  6192         -** Free any overflow pages associated with the given Cell.  Write the
  6193         -** local Cell size (the number of bytes on the original page, omitting
  6194         -** overflow) into *pnSize.
         6192  +** Free any overflow pages associated with the given Cell.  Store
         6193  +** size information about the cell in pInfo.
  6195   6194   */
  6196   6195   static int clearCell(
  6197   6196     MemPage *pPage,          /* The page that contains the Cell */
  6198   6197     unsigned char *pCell,    /* First byte of the Cell */
  6199   6198     CellInfo *pInfo          /* Size information about the cell */
  6200   6199   ){
  6201   6200     BtShared *pBt;
................................................................................
  7391   7390       */
  7392   7391       if( pOld->aData[0]!=apOld[0]->aData[0] ){
  7393   7392         rc = SQLITE_CORRUPT_BKPT;
  7394   7393         goto balance_cleanup;
  7395   7394       }
  7396   7395   
  7397   7396       /* Load b.apCell[] with pointers to all cells in pOld.  If pOld
  7398         -    ** constains overflow cells, include them in the b.apCell[] array
         7397  +    ** contains overflow cells, include them in the b.apCell[] array
  7399   7398       ** in the correct spot.
  7400   7399       **
  7401   7400       ** Note that when there are multiple overflow cells, it is always the
  7402   7401       ** case that they are sequential and adjacent.  This invariant arises
  7403   7402       ** because multiple overflows can only occurs when inserting divider
  7404   7403       ** cells into a parent on a prior balance, and divider cells are always
  7405   7404       ** adjacent and are inserted in order.  There is an assert() tagged