Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment:  Fix typo in comments. No code changes. 

Downloads:  Tarball  ZIP archive  SQL archive 
Timelines:  family  ancestors  descendants  both  trunk 
Files:  files  file ages  folders 
SHA1:  7df97b5937933ee3f9af946346b2c169 
User & Date:  drh 20150815 18:03:50 
Context
20160728
 
13:44  Fix typo in the LSM documentation. checkin: c2d3bd7694 user: drh tags: trunk  
20150815
 
18:03  Fix typo in comments. No code changes. checkin: 7df97b5937 user: drh tags: trunk  
20140919
 
18:48  Fix an assert() in lsm_shared.c. checkin: 90c09b0451 user: dan tags: trunk  
Changes
Changes to src/varint.c.
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
..
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

** 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. ** ** If A0 is 253 then the result is A1..A6 as a 6byte bigending integer. ** ** If A0 is 254 then the result is A1..A7 as a 7byte bigending integer. ** ** If A0 is 255 then the result is A1..A8 as a 8byte bigending integer. ** ** ENCODE ** ** Let the input value be V. ** ** If V<=240 then output a single by A0 equal to V. ** ................................................................................ ** ** If V<=67823 then output A0 as 249, A1 as (V2288)/256, and A2 ** as (V2288)%256. ** ** If V<=16777215 then output A0 as 250 and A1 through A3 as a bigendian ** 3byte integer. ** ** If V<=4294967295 then output A0 as 251 and A1..A4 as a bigending ** 4byte integer. ** ** If V<=1099511627775 then output A0 as 252 and A1..A5 as a bigending ** 5byte integer. ** ** If V<=281474976710655 then output A0 as 253 and A1..A6 as a bigending ** 6byte integer. ** ** If V<=72057594037927935 then output A0 as 254 and A1..A7 as a ** bigending 7byte integer. ** ** Otherwise then output A0 as 255 and A1..A8 as a bigending 8byte integer. ** ** SUMMARY ** ** Bytes Max Value Digits **    ** 1 240 2.3 ** 2 2287 3.3 












34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
..
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86

** 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 bigendian integer. ** ** If A0 is 251 then the result is A1..A4 as a 4byte bigendian integer. ** ** If A0 is 252 then the result is A1..A5 as a 5byte bigendian integer. ** ** If A0 is 253 then the result is A1..A6 as a 6byte bigendian integer. ** ** If A0 is 254 then the result is A1..A7 as a 7byte bigendian integer. ** ** If A0 is 255 then the result is A1..A8 as a 8byte bigendian integer. ** ** ENCODE ** ** Let the input value be V. ** ** If V<=240 then output a single by A0 equal to V. ** ................................................................................ ** ** If V<=67823 then output A0 as 249, A1 as (V2288)/256, and A2 ** as (V2288)%256. ** ** If V<=16777215 then output A0 as 250 and A1 through A3 as a bigendian ** 3byte integer. ** ** If V<=4294967295 then output A0 as 251 and A1..A4 as a bigendian ** 4byte integer. ** ** If V<=1099511627775 then output A0 as 252 and A1..A5 as a bigendian ** 5byte integer. ** ** If V<=281474976710655 then output A0 as 253 and A1..A6 as a bigendian ** 6byte integer. ** ** If V<=72057594037927935 then output A0 as 254 and A1..A7 as a ** bigendian 7byte integer. ** ** Otherwise then output A0 as 255 and A1..A8 as a bigendian 8byte integer. ** ** SUMMARY ** ** Bytes Max Value Digits **    ** 1 240 2.3 ** 2 2287 3.3 