mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MWL#90: Subqueries: Inside-out execution for non-semijoin materialized subqueries that are AND-parts of the WHERE
- Remove JOIN::all_tables as it is not useful. - Better wording in comments
This commit is contained in:
@@ -2655,9 +2655,11 @@ bool setup_sj_materialization(JOIN_TAB *tab)
|
||||
then substitute_for_best_equal_field() will change the conditions
|
||||
according to the join order:
|
||||
|
||||
it1
|
||||
it2 it1.col=it2.col
|
||||
ot cond(it1.col)
|
||||
table | attached condition
|
||||
------+--------------------
|
||||
it1 |
|
||||
it2 | it1.col=it2.col
|
||||
ot | cond(it1.col)
|
||||
|
||||
although we've originally had "SELECT it2.col", conditions attached
|
||||
to subsequent outer tables will refer to it1.col, so SJM-Scan will
|
||||
|
Reference in New Issue
Block a user