summaryrefslogtreecommitdiff
path: root/mysql-test/r/type_enum.result
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com/gluh.(none)>2006-09-11 14:50:46 +0500
committerunknown <gluh@mysql.com/gluh.(none)>2006-09-11 14:50:46 +0500
commit62dd7e5183b6c01b7ba996a5f09af2cffdbd8a25 (patch)
treee9baa8d518cb267a70261d1bcf40912ef006b72b /mysql-test/r/type_enum.result
parentddb9f8668fa10166e4ffb761dc54a25a007c5bfa (diff)
downloadmariadb-git-62dd7e5183b6c01b7ba996a5f09af2cffdbd8a25.tar.gz
Bug#20922 mysql removes a name of first column in a table
0xFF is internal separator for SET|ENUM names. If this symbol is present in SET|ENUM names then we replace it with ','(deprecated symbol for SET|ENUM names) during frm creation and restore to 0xFF during frm opening mysql-test/r/type_enum.result: Bug#20922 mysql removes a name of first column in a table test case mysql-test/t/type_enum.test: Bug#20922 mysql removes a name of first column in a table test case sql/table.cc: Bug#20922 mysql removes a name of first column in a table Replace all ',' symbols with NAMES_SEP_CHAR in interval names. sql/unireg.cc: Bug#20922 mysql removes a name of first column in a table if NAMES_SEP_CHAR symbols are present in interval name then replace all NAMES_SEP_CHAR symbols with ','
Diffstat (limited to 'mysql-test/r/type_enum.result')
-rw-r--r--mysql-test/r/type_enum.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/type_enum.result b/mysql-test/r/type_enum.result
index ab3c441a7e2..0fe3f674fba 100644
--- a/mysql-test/r/type_enum.result
+++ b/mysql-test/r/type_enum.result
@@ -1745,3 +1745,12 @@ create table t1 (a set('x','y') default 'x');
alter table t1 alter a set default 'z';
ERROR 42000: Invalid default value for 'a'
drop table t1;
+create table t1 (f1 int);
+alter table t1 add f2 enum(0xFFFF);
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `f1` int(11) default NULL,
+ `f2` enum('ÿÿ') default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;