mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
12 lines
314 B
Text
12 lines
314 B
Text
|
--source include/have_innodb.inc
|
||
|
|
||
|
--echo #
|
||
|
--echo # Bug #18010711 UNIQUE PREFIX INDEX ON BINARY COLUMN: FAILING
|
||
|
--echo # ASSERTION: FLEN == LEN
|
||
|
--echo #
|
||
|
create table t1 (f1 binary(5)) engine=innodb;
|
||
|
insert into t1 values ('w'), ('w');
|
||
|
--error ER_DUP_ENTRY
|
||
|
create unique index index_t1 on t1(f1(4));
|
||
|
drop table t1;
|