diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-03-14 10:14:37 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-03-14 10:14:37 +0400 |
commit | 49c49e630bdc5fc57dd534b23d8c59b603d36ad0 (patch) | |
tree | b1a8aaf4fc4dce38e333f93e59548072f4138773 /mysql-test/r/func_time.result | |
parent | cb66cdc6f80a32b9ea363f8d59ccb665730a4464 (diff) | |
download | mariadb-git-49c49e630bdc5fc57dd534b23d8c59b603d36ad0.tar.gz |
Tests for MDEV-18667 ASAN heap-use-after-free in make_date_time / Arg_comparator::compare_string / Item_func_nullif::compare
The patch for MDEV-14926 fixed MDEV-18667 as well. Adding tests only.
Diffstat (limited to 'mysql-test/r/func_time.result')
-rw-r--r-- | mysql-test/r/func_time.result | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/func_time.result b/mysql-test/r/func_time.result index 1c3d69c6a6b..19877b17901 100644 --- a/mysql-test/r/func_time.result +++ b/mysql-test/r/func_time.result @@ -3436,5 +3436,13 @@ f 4 DROP TABLE t1; # +# MDEV-18667 ASAN heap-use-after-free in make_date_time / Arg_comparator::compare_string / Item_func_nullif::compare +# +SELECT NULLIF('foo', FROM_UNIXTIME('2012-12-12 12:12:12', TRIM(0))); +NULLIF('foo', FROM_UNIXTIME('2012-12-12 12:12:12', TRIM(0))) +foo +Warnings: +Warning 1292 Truncated incorrect DECIMAL value: '2012-12-12 12:12:12' +# # End of 10.1 tests # |