/ Check-in [e97b7a8b]
Login

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

Overview
Comment:Fix harmless compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e97b7a8b4df784d148fefb9554da0f511e351d9f
User & Date: mistachkin 2014-12-09 04:26:56
Context
2014-12-09
14:42
Increase the default minimum PMA size for multi-threaded sorting from 10x the page size to 250x the page size. Provide the SQLITE_SORTER_PMASZ compile-time option to change this default. check-in: b05340fe user: drh tags: trunk
04:26
Fix harmless compiler warning. check-in: e97b7a8b user: mistachkin tags: trunk
2014-12-08
20:29
Add extra tests to e_walckpt.test. check-in: d6832aa2 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  6781   6781     szScratch =
  6782   6782          nMaxCells*sizeof(u8*)                       /* apCell */
  6783   6783        + nMaxCells*sizeof(u16)                       /* szCell */
  6784   6784        + pBt->pageSize;                              /* aSpace1 */
  6785   6785   
  6786   6786     /* EVIDENCE-OF: R-28375-38319 SQLite will never request a scratch buffer
  6787   6787     ** that is more than 6 times the database page size. */
  6788         -  assert( szScratch<=6*pBt->pageSize );
         6788  +  assert( szScratch<=6*(int)pBt->pageSize );
  6789   6789     apCell = sqlite3ScratchMalloc( szScratch ); 
  6790   6790     if( apCell==0 ){
  6791   6791       rc = SQLITE_NOMEM;
  6792   6792       goto balance_cleanup;
  6793   6793     }
  6794   6794     szCell = (u16*)&apCell[nMaxCells];
  6795   6795     aSpace1 = (u8*)&szCell[nMaxCells];