summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/myisam_icp_notembedded.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/main/myisam_icp_notembedded.result
parentInitial commit. (diff)
downloadmariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz
mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 00000000..789259d6
--- /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;