diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-11-02 12:49:24 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-11-02 12:49:24 +0100 |
commit | 3303748fd13399ba39ce4d646153d086c5a09445 (patch) | |
tree | 276e1310dc75571400089496e41aee62ceae169e /mysql-test/main/subselect_no_opts.result | |
parent | 278fbe61d847337712c0f802cc8e0db85bf58bd7 (diff) | |
download | mariadb-git-3303748fd13399ba39ce4d646153d086c5a09445.tar.gz |
MDEV-29926: ASAN heap-use-after-free in Explain_query::~Explain_querymariadb-10.3.37
Make sure that EXPLAIN object allocated on runtime arena.
Diffstat (limited to 'mysql-test/main/subselect_no_opts.result')
-rw-r--r-- | mysql-test/main/subselect_no_opts.result | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/subselect_no_opts.result b/mysql-test/main/subselect_no_opts.result index f55978a591c..dc0e690b957 100644 --- a/mysql-test/main/subselect_no_opts.result +++ b/mysql-test/main/subselect_no_opts.result @@ -7360,4 +7360,15 @@ a 1 drop table t1,t2,t3; # End of 10.2 tests +# +# MDEV-29926: ASAN heap-use-after-free in Explain_query::~Explain_query +# +CREATE TABLE t (a VARCHAR(1)) CHARACTER SET utf8mb3; +EXECUTE IMMEDIATE "SELECT COUNT(*) FROM t WHERE a < (SELECT 'x')"; +COUNT(*) +0 +DROP TABLE t; +# +# End of 10.3 tests +# set @optimizer_switch_for_subselect_test=null; |