1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00

use a different error for MySQL bug#11747970 - kill the query,

as it was supposed to be in bug#11747970, don't fake an error.
(this kill can be useful for other bugs too)
This commit is contained in:
Sergei Golubchik
2014-02-13 20:20:17 +01:00
parent 642495345f
commit 4b57720caa
3 changed files with 3 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ INSERT INTO t1 VALUES (1),(2);
INSERT INTO t2 VALUES (1),(2);
SET SESSION debug="+d,bug11747970_raise_error";
INSERT IGNORE INTO t2 SELECT f1 FROM t1 a WHERE NOT EXISTS (SELECT 1 FROM t2 b WHERE a.f1 = b.f1);
ERROR HY000: Unknown error
ERROR 70100: Query execution was interrupted
SET SESSION debug = DEFAULT;
DROP TABLE t1,t2;
#