mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Up-merge from 5.0
This commit is contained in:
@ -40,6 +40,8 @@ drop table t1;
|
||||
create table t1 (a bit) engine=innodb;
|
||||
insert into t1 values (b'0'), (b'1'), (b'000'), (b'100'), (b'001');
|
||||
select hex(a) from t1;
|
||||
# It is not deterministic which duplicate will be seen first
|
||||
--replace_regex /(.*Duplicate entry )'.*'( for key.*)/\1''\2/
|
||||
--error ER_DUP_ENTRY
|
||||
alter table t1 add unique (a);
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user