Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Cherrypick several recent minor changes from trunk. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | branch-3.8.10 |
Files: | files | file ages | folders |
SHA1: |
0f4cfe6cd0846228f7fd4f967bf65760 |
User & Date: | drh 2015-05-26 12:26:59.141 |
Context
2015-05-30
| ||
20:54 | Fix a typo in the SQLITE_BUSY_SNAPSHOT documentation. (check-in: d025188e91 user: drh tags: branch-3.8.10) | |
2015-05-26
| ||
12:26 | Cherrypick several recent minor changes from trunk. (check-in: 0f4cfe6cd0 user: drh tags: branch-3.8.10) | |
2015-05-25
| ||
09:22 | Fix typo in the "deprecated" footnote on the pragma list. (check-in: 7555c435cc user: drh tags: trunk) | |
2015-05-23
| ||
17:48 | Enhance the file-format document to show the page type header numbers on various charts, for ease of reference. (check-in: 88dc8a8a7b user: drh tags: trunk) | |
2015-05-20
| ||
18:24 | Add the sha1sum and SQLITE_SOURCE_ID for version 3.8.10.2. (check-in: f4e75764dd user: dan tags: branch-3.8.10) | |
18:20 | Update the list of reserved characters in fts5.html. (check-in: d2210cd43b user: dan tags: trunk) | |
2015-05-15
| ||
14:51 | Link from the ATTACH documentation page to the DETACH page. (check-in: b3cbd71993 user: drh tags: trunk) | |
14:48 | Increased information about TH3. (check-in: 7d4f8c9ada user: drh tags: trunk) | |
Changes
Changes to pages/fileformat2.in.
︙ | ︙ | |||
654 655 656 657 658 659 660 | are the more significant and bits taken from the later bytes. </p> <p>The format of a cell depends on which kind of b-tree page the cell appears on. The following table shows the elements of a cell, in order of appearance, for the various b-tree page types.</p> <blockquote><dl> | | | | | | | | | | 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 | are the more significant and bits taken from the later bytes. </p> <p>The format of a cell depends on which kind of b-tree page the cell appears on. The following table shows the elements of a cell, in order of appearance, for the various b-tree page types.</p> <blockquote><dl> <dt><p>Table B-Tree Leaf Cell (header 0x0d):</p></dt> <dd><p><ul> <li>A varint which is the total number of bytes of payload, including any overflow <li>A varint which is the integer key, a.k.a. "[rowid]" <li>The initial portion of the payload that does not spill to overflow pages. <li>A 4-byte big-endian integer page number for the first page of the overflow page list - omitted if all payload fits on the b-tree page. </ul></p></dd> <dt><p>Table B-Tree Interior Cell (header 0x05):</p></dt> <dd><p><ul> <li>A 4-byte big-endian page number which is the left child pointer. <li>A varint which is the integer key </ul></p></dd> <dt><p>Index B-Tree Leaf Cell (header 0x0a):</p></dt> <dd><p><ul> <li>A varint which is the total number of bytes of key payload, including any overflow <li>The initial portion of the payload that does not spill to overflow pages. <li>A 4-byte big-endian integer page number for the first page of the overflow page list - omitted if all payload fits on the b-tree page. </ul></p></dd> <dt><p>Index B-Tree Interior Cell (header 0x02):</p></dt> <dd><p><ul> <li>A 4-byte big-endianpage number which is the left child pointer. <li>A varint which is the total number of bytes of key payload, including any overflow <li>The initial portion of the payload that does not spill to overflow pages. <li>A 4-byte big-endian integer page number for the first page of the overflow page list - omitted if all payload fits on the b-tree page. </ul></p></dd> </dl></blockquote> <p>The information above can be recast into a table format as follows:</p> <tcl>hd_fragment cellformat {cell format summary}</tcl> <center> <i>B-tree Cell Format</i> <table border=1 width="80%"> <tr><th rowspan=2>Datatype <th colspan=4>Appears in... <th rowspan=2>Description <tr><th>Table Leaf (0x0d) <th>Table Interior (0x05) <th>Index Leaf (0x0a) <th>Index Interior (0x02) <tr><td align=center valign=top>4-byte integer <td align=center valign=top> <td align=center valign=top>✔ <td align=center valign=top> <td align=center valign=top>✔ <td align=left>Page number of left child <tr><td align=center valign=top>varint |
︙ | ︙ |
Changes to pages/fts5.in.
︙ | ︙ | |||
159 160 161 162 163 164 165 | Within an FTS expression a <b>string</b> may be specified in one of two ways: <ul> <li> <p>By enclosing it in double quotes ("). Within a string, any embedded double quote characters may be escaped SQL-style - by adding a second double-quote character. | < | > | | < > > > > > > | | < | | 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | Within an FTS expression a <b>string</b> may be specified in one of two ways: <ul> <li> <p>By enclosing it in double quotes ("). Within a string, any embedded double quote characters may be escaped SQL-style - by adding a second double-quote character. <li> <p>As an FTS5 bareword that is not "AND", "OR" or "NOT" (case sensitive). An FTS5 bareword is a string of one or more consecutive characters that are all either: <ul> <li> Non-ASCII range characters (i.e. unicode codepoints greater than 127), or <li> One of the 52 upper and lower case ASCII characters, or <li> One of the 10 decimal digit ASCII characters, or <li> The underscore character (unicode codepoint 96). </ul> Strings that include any other characters must be quoted. </ul> <p> FTS queries are made up of <b>phrases</b>. A phrase is an ordered list of one or more tokens. A string is transformed into a phrase by passing it to the FTS table tokenizer. Two phrases can be concatenated into a single large phrase using the "+" operator. For example, assuming the tokenizer |
︙ | ︙ |
Changes to pages/pragma.in.
︙ | ︙ | |||
1536 1537 1538 1539 1540 1541 1542 | } } </tcl> </ul></td></tr></table> <p>Notes: <ol> <li>Pragmas whose names are marked through in the list above | > | | 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 | } } </tcl> </ul></td></tr></table> <p>Notes: <ol> <li>Pragmas whose names are marked through in the list above are deprecated. They are not maintained. They continue to exist for historical compatibility only. Do not use the deprecated pragmas in new applications. Remove deprecated pragmas from existing applications at your earliest opportunity.</blockquote> <li>These pragmas are used for debugging SQLite and are only available when SQLite is compiled using [SQLITE_DEBUG]. <li>These pragmas are used for testing SQLite and are not recommended for use in application programs.</ol></p> |
︙ | ︙ |