1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a bug in the showdb utility: the serial types for BLOB and TEXT where

reversed.

FossilOrigin-Name: 65a13faf1e3cd18f3459cd410f65d334cfa7c376
This commit is contained in:
drh
2011-01-05 21:46:52 +00:00
parent 100335be77
commit b2c062df71
3 changed files with 11 additions and 11 deletions

View File

@ -227,7 +227,7 @@ static int describeContent(
sprintf(zDesc, "1");
}else if( x>=12 ){
int size = (x-12)/2;
if( x&1 ){
if( (x&1)==0 ){
sprintf(zDesc, "blob(%d)", size);
}else{
sprintf(zDesc, "text(%d)", size);