mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.1 into 10.2
This commit is contained in:
@@ -2038,7 +2038,7 @@ bool Item_allany_subselect::transform_into_max_min(JOIN *join)
|
||||
The swap is needed for expressions of type 'f1 < ALL ( SELECT ....)'
|
||||
where we want to evaluate the sub query even if f1 would be null.
|
||||
*/
|
||||
subs= func->create_swap(thd, *(optimizer->get_cache()), subs);
|
||||
subs= func->create_swap(thd, expr, subs);
|
||||
thd->change_item_tree(place, subs);
|
||||
if (subs->fix_fields(thd, &subs))
|
||||
DBUG_RETURN(true);
|
||||
|
Reference in New Issue
Block a user