diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-07-29 16:44:39 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-07-29 16:44:39 +0200 |
commit | ccaaa3d200dccddd8ff3defafcff8ae6f4dcf9ae (patch) | |
tree | b0ec12ae3ecb928483085552407e7d3a94b70f62 /mysql-test/main/having.result | |
parent | 83d368a062f017bd28536639cb2041a6f2b88d55 (diff) | |
download | mariadb-git-ccaaa3d200dccddd8ff3defafcff8ae6f4dcf9ae.tar.gz |
MDEV-20200: AddressSanitizer: use-after-poison in Item_direct_view_ref::get_null_ref_table
Do not cast wrong type.
Diffstat (limited to 'mysql-test/main/having.result')
-rw-r--r-- | mysql-test/main/having.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/main/having.result b/mysql-test/main/having.result index 837940a55ef..703f013c2da 100644 --- a/mysql-test/main/having.result +++ b/mysql-test/main/having.result @@ -864,4 +864,13 @@ x Warnings: Warning 1292 Truncated incorrect DOUBLE value: 'x' DROP TABLE t1,t2; +# +# MDEV-20200: AddressSanitizer: use-after-poison in +# Item_direct_view_ref::get_null_ref_table +# +CREATE TABLE t (f VARCHAR(512)); +INSERT INTO t VALUES ('a'),('b'); +SELECT * FROM t HAVING f = 'foo'; +f +DROP TABLE t; # End of 10.4 tests |