File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 3436
3436
4
3437
3437
DROP TABLE t1;
3438
3438
#
3439
+ # MDEV-18667 ASAN heap-use-after-free in make_date_time / Arg_comparator::compare_string / Item_func_nullif::compare
3440
+ #
3441
+ SELECT NULLIF('foo', FROM_UNIXTIME('2012-12-12 12:12:12', TRIM(0)));
3442
+ NULLIF('foo', FROM_UNIXTIME('2012-12-12 12:12:12', TRIM(0)))
3443
+ foo
3444
+ Warnings:
3445
+ Warning 1292 Truncated incorrect DECIMAL value: '2012-12-12 12:12:12'
3446
+ #
3439
3447
# End of 10.1 tests
3440
3448
#
Original file line number Diff line number Diff line change @@ -1923,6 +1923,11 @@ INSERT INTO t1 VALUES ('1900-01-01');
1923
1923
SELECT LENGTH( DATE_FORMAT( d, BINARY DATABASE() ) ) AS f FROM t1 GROUP BY d;
1924
1924
DROP TABLE t1;
1925
1925
1926
+ --echo #
1927
+ --echo # MDEV-18667 ASAN heap-use-after-free in make_date_time / Arg_comparator::compare_string / Item_func_nullif::compare
1928
+ --echo #
1929
+
1930
+ SELECT NULLIF('foo', FROM_UNIXTIME('2012-12-12 12:12:12', TRIM(0)));
1926
1931
1927
1932
--echo #
1928
1933
--echo # End of 10.1 tests
You can’t perform that action at this time.
0 commit comments