1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-16861 Split Item::update_null_value() into a new virtual method in Type_handler

This commit is contained in:
Alexander Barkov
2018-07-31 10:09:53 +04:00
parent 28ff7e89c6
commit 2bbee0e1ec
14 changed files with 178 additions and 49 deletions

View File

@@ -7281,6 +7281,21 @@ pk i c pk i c
1 10 foo 1 10 foo
DROP TABLE t;
# End of 10.2 tests
#
# Start of 10.4 tests
#
#
# MDEV-16861 Split Item::update_null_value() into a new virtual method in Type_handler
#
SELECT ROW(1,2) = EXISTS (SELECT 1);
ERROR HY000: Illegal parameter data types row and boolean for operation '='
SELECT ROW(1,2) = 1 IN (SELECT 1 UNION SELECT 2);
ERROR HY000: Illegal parameter data types row and boolean for operation '='
SELECT ROW(1,2) = (1 = ANY (SELECT 1 UNION SELECT 2));
ERROR HY000: Illegal parameter data types row and boolean for operation '='
#
# End of 10.4 tests
#
set optimizer_switch=default;
select @@optimizer_switch like '%exists_to_in=off%';
@@optimizer_switch like '%exists_to_in=off%'