summaryrefslogtreecommitdiff
path: root/mysql-test/main/myisam_icp_notembedded.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/myisam_icp_notembedded.result')
-rw-r--r--mysql-test/main/myisam_icp_notembedded.result22
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/main/myisam_icp_notembedded.result b/mysql-test/main/myisam_icp_notembedded.result
new file mode 100644
index 00000000000..789259d62f1
--- /dev/null
+++ b/mysql-test/main/myisam_icp_notembedded.result
@@ -0,0 +1,22 @@
+drop table if exists t1,t2;
+set @myisam_icp_notembedded_tmp=@@optimizer_switch;
+set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
+#
+# BUG#933412: Server crashes in _mi_put_key_in_record on KILL QUERY with ICP, STRAIGHT_JOIN
+#
+CREATE TABLE t1 (
+b INT,
+c VARCHAR(1) NOT NULL,
+d DATETIME,
+KEY (c, b)
+) ENGINE=MyISAM;
+# INSERT some data
+CREATE TABLE t2 ( a INT ) ENGINE=MyISAM;
+INSERT INTO t2 VALUES
+(7),(3),(7),(3);
+connect con2,127.0.0.1,root,,test;
+# Now run a number of ICP queries while trying to kill them
+disconnect con2;
+connection default;
+DROP TABLE t1,t2;
+set optimizer_switch=@myisam_icp_notembedded_tmp;