1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

BUG#9303 blob field with specified length < 256 does not create tinyblob

mysql-test/r/type_blob.result:
  Test creates a blob(250 whcih is now displayed as tinyblob when SHOW COLUMNS is called.
sql/sql_parse.cc:
  Added missing else so that FIELD_TINY_BLOB can be selected
This commit is contained in:
unknown
2005-03-24 13:48:38 +01:00
parent 3315fab91e
commit e7db877956
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ show columns from t1;
Field Type Null Key Default Extra
a blob YES NULL
b text YES NULL
c blob YES NULL
c tinyblob YES NULL
d mediumtext YES NULL
e longtext YES NULL
CREATE TABLE t2 (a char(257), b varbinary(70000), c varchar(70000000));