Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a bug in the showdb utility: the serial types for BLOB and TEXT where reversed. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
65a13faf1e3cd18f3459cd410f65d334 |
User & Date: | drh 2011-01-05 21:46:53.000 |
Context
2011-01-06
| ||
01:26 | Enhance the showdb tool to show a btree page layout. Add limit checks so that overflow content does not overflow the buffer. (check-in: 57ffa07e26 user: drh tags: trunk) | |
2011-01-05
| ||
21:46 | Fix a bug in the showdb utility: the serial types for BLOB and TEXT where reversed. (check-in: 65a13faf1e user: drh tags: trunk) | |
21:20 | Enhancements to the "showdb" debugging tool. Add the ability to display the content of a cell. (check-in: e9023a4e1e user: drh tags: trunk) | |
Changes
Changes to tool/showdb.c.
︙ | ︙ | |||
223 224 225 226 227 228 229 | pData += 8; }else if( x==8 ){ sprintf(zDesc, "0"); }else if( x==9 ){ sprintf(zDesc, "1"); }else if( x>=12 ){ int size = (x-12)/2; | | | 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | pData += 8; }else if( x==8 ){ sprintf(zDesc, "0"); }else if( x==9 ){ sprintf(zDesc, "1"); }else if( x>=12 ){ int size = (x-12)/2; if( (x&1)==0 ){ sprintf(zDesc, "blob(%d)", size); }else{ sprintf(zDesc, "text(%d)", size); } pData += size; } j = strlen(zDesc); |
︙ | ︙ |