/ Check-in [2bb7f74b]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Remove an incorrect debugging assert() that was accidently added during the STAT4 enhancement.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2bb7f74bbd467b74581699d16b06758f9c9457dc
User & Date: drh 2013-10-06 22:52:51
Context
2013-10-07
00:36
Restore the hexrekey pragma which was accidently deleted during the pragma refactoring. Make sure the hexkey and hexrekey pragmas do not overflow buffers with a over-length key. check-in: 0aca31e1 user: drh tags: trunk
2013-10-06
22:52
Remove an incorrect debugging assert() that was accidently added during the STAT4 enhancement. check-in: 2bb7f74b user: drh tags: trunk
2013-10-04
18:17
If an "INSERT INTO ... SELECT" can use the xfer optimization, pass the OPFLAG_BULKCSR hint to btree cursors used to update indices. This results in a tighter key packing. check-in: 087af29e user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/btree.c.

  2504   2504       pBt->max1bytePayload = 127;
  2505   2505     }else{
  2506   2506       pBt->max1bytePayload = (u8)pBt->maxLocal;
  2507   2507     }
  2508   2508     assert( pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt) );
  2509   2509     pBt->pPage1 = pPage1;
  2510   2510     pBt->nPage = nPage;
  2511         -assert( pPage1->leaf==0 || pPage1->leaf==1 );
  2512   2511     return SQLITE_OK;
  2513   2512   
  2514   2513   page1_init_failed:
  2515   2514     releasePage(pPage1);
  2516   2515     pBt->pPage1 = 0;
  2517   2516     return rc;
  2518   2517   }