mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
b6e28c99d0
Change "duplicate key" message to print key name instead of key number.
13 lines
354 B
Text
13 lines
354 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
create table t1 (a int, unique(a)) engine=myisam;
|
|
set sql_log_bin=0;
|
|
insert into t1 values(2);
|
|
set sql_log_bin=1;
|
|
insert into t1 values(1),(2);
|
|
ERROR 23000: Duplicate entry '2' for key 'a'
|
|
drop table t1;
|