mirror of
https://github.com/MariaDB/server.git
synced 2025-04-24 18:27:21 +03:00
Create an Item_cache based on item's cmp_type, not result_type in subselect_engine. Use result_field in Item_cache_temporal::cache_value(), just like all other Item_cache*::cache_value() do.
6 lines
146 B
Plaintext
6 lines
146 B
Plaintext
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 ( a DATE );
|
|
SELECT * FROM t1 WHERE ( SELECT a FROM t1 ) IN ('2012-04-25','2012-04-26');
|
|
a
|
|
DROP TABLE t1;
|