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: 
f392aec8a5977399b2802b308a696329 
User & Date:  drh 20140318 19:29:48 
Context
20140507
 
09:49  Fix a memory leak in LSM. checkin: 8a39847daf user: dan tags: trunk  
20140318
 
19:29  Fix an important typo in the varint decoder documentation. checkin: f392aec8a5 user: drh tags: trunk  
20140222
 
19:54  Add other bt optimizations. Fix a problem in mutex_noop.c. checkin: 1ecbf355e3 user: dan tags: trunk  
Changes
Changes to www/varint.wiki.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 
<h2>Decode</h2>
* If A0 is between 0 and 240 inclusive, then the result is the value of A0.
* If A0 is between 241 and 248 inclusive, then the result is
240+256*(A0241)+A1.
* If A0 is 249 then the result is 2287+256*A1+A2.
* If A0 is 250 then the result is A1..A3 as a 3byte bigending integer.
* If A0 is 251 then the result is A1..A4 as a 4byte bigending integer.
* If A0 is 252 then the result is A1..A5 as a 5byte bigending integer.

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