summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/r/alter_table_copy_table.result
blob: e8765ec7ab9ba6cce8cb023ae167ad3425d3a78a (plain)
1
2
3
4
5
6
7
8
drop table if exists t;
set tokudb_disable_hot_alter=ON;
set default_storage_engine=tokudb;
create table t (id int, x char(2), primary key (id), unique key (x));
insert into t values (1,'aa'),(2,'ab');
alter table t modify x char(1);
ERROR 23000: Duplicate entry 'a' for key 'x'
drop table t;