mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge 10.1 into 10.1
This is joint work with Oleksandr Byelkin.
This commit is contained in:
@@ -3793,7 +3793,8 @@ bool st_select_lex::optimize_unflattened_subqueries(bool const_only)
|
||||
inner_join->select_options|= SELECT_DESCRIBE;
|
||||
}
|
||||
res= inner_join->optimize();
|
||||
sl->update_used_tables();
|
||||
if (!inner_join->cleaned)
|
||||
sl->update_used_tables();
|
||||
sl->update_correlated_cache();
|
||||
is_correlated_unit|= sl->is_correlated;
|
||||
inner_join->select_options= save_options;
|
||||
|
||||
Reference in New Issue
Block a user