MDEV-29446 Change SHOW CREATE TABLE to display default collation

This commit is contained in:
Alexander Barkov 2022-09-02 17:32:14 +04:00
commit f1544424de
1087 changed files with 47936 additions and 47957 deletions

View file

@ -710,7 +710,7 @@ t2 CREATE TABLE `t2` (
`a` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `a` (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
set @a=0;
create table t3 as select * from t2 limit 0;
insert into t3 select @a:=@a+1, t2.a from t2, t0;