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

Bug #6552 CHAR column w/o length is legal, BINARY w/o length is not

This commit is contained in:
bar@mysql.com
2004-11-16 12:05:13 +04:00
parent 8a2ef0a2ca
commit 629f1bb616
3 changed files with 17 additions and 0 deletions

View File

@ -134,3 +134,10 @@ select * from t1 where firstname='john' and firstname like binary 'John';
firstname lastname
John Doe
drop table t1;
create table t1 (a binary);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` binary(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;