mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into mysql.com:/home/gluh/MySQL/Bugs/5.0.27069 sql/sql_table.cc: Auto merged
This commit is contained in:
@ -1386,4 +1386,9 @@ ERROR 01000: Data truncated for column 'a' at row 1
|
||||
insert into t1 values ('2E3x');
|
||||
ERROR 01000: Data truncated for column 'a' at row 1
|
||||
drop table t1;
|
||||
set sql_mode='traditional';
|
||||
create table t1 (f1 set('a','a'));
|
||||
ERROR HY000: Column 'f1' has duplicated value 'a' in SET
|
||||
create table t1 (f1 enum('a','a'));
|
||||
ERROR HY000: Column 'f1' has duplicated value 'a' in ENUM
|
||||
End of 5.0 tests
|
||||
|
@ -1249,4 +1249,13 @@ insert into t1 values ('2000a');
|
||||
insert into t1 values ('2E3x');
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug#27069 set with identical elements are created
|
||||
#
|
||||
set sql_mode='traditional';
|
||||
--error 1291
|
||||
create table t1 (f1 set('a','a'));
|
||||
--error 1291
|
||||
create table t1 (f1 enum('a','a'));
|
||||
|
||||
--echo End of 5.0 tests
|
||||
|
Reference in New Issue
Block a user