Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Bug fix in the varint.c encoder for values between 140737488355328 and 281474976710655. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
21442d15d0573ec1d57ba6cb66ac5607 |
User & Date: | drh 2013-04-29 17:15:23.387 |
Context
2013-04-29
| ||
17:48 | Fix a problem with the binary-to-decimal mode of the "varint" command-line test tool. check-in: 34281c89cf user: drh tags: trunk | |
17:15 | Bug fix in the varint.c encoder for values between 140737488355328 and 281474976710655. check-in: 21442d15d0 user: drh tags: trunk | |
2013-03-28
| ||
19:41 | Add tests to sqltest. check-in: fde11ff78c user: dan tags: trunk | |
Changes
Changes to src/varint.c.
︙ | ︙ | |||
199 200 201 202 203 204 205 | } if( w<=255 ){ z[0] = 252; z[1] = (unsigned char)w; varintWrite32(z+2, y); return 6; } | | | 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | } if( w<=255 ){ z[0] = 252; z[1] = (unsigned char)w; varintWrite32(z+2, y); return 6; } if( w<=65535 ){ z[0] = 253; z[1] = (unsigned char)(w>>8); z[2] = (unsigned char)w; varintWrite32(z+3, y); return 7; } if( w<=16777215 ){ |
︙ | ︙ |