1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/db766.result
Sergei Golubchik f20598b27d TokuDB 7.5.4
2015-01-13 23:44:32 +01:00

8 lines
273 B
Plaintext

set default_storage_engine=TokuDB;
drop table if exists t1;
CREATE TABLE t1(c1 INT,c2 CHAR)PARTITION BY KEY(c1) PARTITIONS 5;
insert INTO t1 values(1,1),(2,1),(2,2),(2,3);
ALTER TABLE t1 ADD UNIQUE INDEX i1(c1);
ERROR 23000: Duplicate entry '2' for key 'i1'
drop table t1;