summaryrefslogtreecommitdiff
path: root/mysql-test/main/in_datetime_241.test
blob: f95a456f5e26f0e04ee88f6d41b19e52620d069e (plain)
1
2
3
4
5
6
7
8
9
#
# MDEV-241 lp:992722 - Server crashes in get_datetime_value 
#
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1 ( a DATE );
SELECT * FROM t1 WHERE ( SELECT a FROM t1 ) IN ('2012-04-25','2012-04-26');
DROP TABLE t1;