summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2020-12-22 19:22:41 +0300
committerSergei Petrunia <psergey@askmonty.org>2020-12-22 19:22:41 +0300
commit8d8370e31d48e0bc6139c18770746f9959c21598 (patch)
tree2f9b04eaabf31a98b83043dc3a0c824aa177dd34
parentdf4f4bd84acce75150caff95b08c9b82d61e45db (diff)
downloadmariadb-git-8d8370e31d48e0bc6139c18770746f9959c21598.tar.gz
Forgot to add this change to previous cset
-rw-r--r--mysql-test/r/range_mrr_icp.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/range_mrr_icp.result b/mysql-test/r/range_mrr_icp.result
index 3561283044a..f3203fea73d 100644
--- a/mysql-test/r/range_mrr_icp.result
+++ b/mysql-test/r/range_mrr_icp.result
@@ -3186,6 +3186,16 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ALL PRIMARY NULL NULL NULL 1000 Using where
drop table t1,t2;
#
+# MDEV-24444: ASAN use-after-poison in Item_func_in::get_func_mm_tree with NOT IN
+#
+CREATE TABLE t1 (id INT, a CHAR(3), b INT, PRIMARY KEY(id), KEY(b), KEY(a));
+INSERT INTO t1 VALUES (1,'foo',10),(2,'bar',20);
+CREATE TABLE t2 (code CHAR(8), num INT, PRIMARY KEY (code));
+INSERT INTO t2 VALUES ('100',1),('111',2);
+SELECT * FROM t1 JOIN t2 ON (t2.code = t1.b) WHERE t1.a NOT IN ('baz', 'qux') OR t2.num != 3;
+id a b code num
+DROP TABLE t1, t2;
+#
# End of 10.2 tests
#
set optimizer_switch=@mrr_icp_extra_tmp;