From 4cf8696eae268d6595c825784a624d9146d58967 Mon Sep 17 00:00:00 2001 From: "jimw@mysql.com" <> Date: Mon, 1 Aug 2005 17:00:03 -0700 Subject: Fix crash in 'INSERT DELAYED' statement that failed due to a conflict in a unique key. (Bug #12226) --- mysql-test/t/delayed.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/t/delayed.test') diff --git a/mysql-test/t/delayed.test b/mysql-test/t/delayed.test index 3030ac20304..ca34cc020f3 100644 --- a/mysql-test/t/delayed.test +++ b/mysql-test/t/delayed.test @@ -38,3 +38,12 @@ select * from t1; drop table t1; # End of 4.1 tests + +# +# Bug #12226: Crash when a delayed insert fails due to a duplicate key +# +create table t1 (a int not null primary key); +insert into t1 values (1); +insert delayed into t1 values (1); +select * from t1; +drop table t1; -- cgit v1.2.1