SQLite4
Check-in [f392aec8a5]
Not logged in

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

Overview
Comment:Fix an important typo in the varint decoder documentation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f392aec8a5977399b2802b308a696329543c1b6b
User & Date: drh 2014-03-18 19:29:48
Context
2014-05-07
09:49
Fix a memory leak in LSM. check-in: 8a39847daf user: dan tags: trunk
2014-03-18
19:29
Fix an important typo in the varint decoder documentation. check-in: f392aec8a5 user: drh tags: trunk
2014-02-22
19:54
Add other bt optimizations. Fix a problem in mutex_noop.c. check-in: 1ecbf355e3 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to www/varint.wiki.

    25     25   <h2>Decode</h2>
    26     26   
    27     27     *  If A0 is between 0 and 240 inclusive, then the result is the value of A0.
    28     28   
    29     29     *  If A0 is between 241 and 248 inclusive, then the result is
    30     30        240+256*(A0-241)+A1.
    31     31   
    32         -  *  If A0 is 249 then the result is 2287+256*A1+A2.
           32  +  *  If A0 is 249 then the result is 2288+256*A1+A2.
    33     33   
    34     34     *  If A0 is 250 then the result is A1..A3 as a 3-byte big-ending integer.
    35     35   
    36     36     *  If A0 is 251 then the result is A1..A4 as a 4-byte big-ending integer.
    37     37   
    38     38     *  If A0 is 252 then the result is A1..A5 as a 5-byte big-ending integer.
    39     39