diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-05-25 17:13:19 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-05-25 17:13:19 +0400 |
commit | a15e342d0bf9e9da709fe9c9cdabbe0cd7c921b2 (patch) | |
tree | 720503372c4db04f193251d5fbbb1399c3bc628e /sql/sql_select.h | |
parent | 62bf7f61245cb1d50a8992a4a1b74df1074d77d3 (diff) | |
download | mariadb-git-a15e342d0bf9e9da709fe9c9cdabbe0cd7c921b2.tar.gz |
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
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index ab62f5f7d46..36ab753a6ae 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -1373,8 +1373,11 @@ public: JOIN_TAB *join_tab,**best_ref; JOIN_TAB **map2table; ///< mapping between table indexes and JOIN_TABs JOIN_TAB *join_tab_save; ///< saved join_tab for subquery reexecution + /* + Base tables participating in the join. After join optimization is done, the + tables are stored in the join order. + */ TABLE **table; - TABLE **all_tables; /** The table which has an index that allows to produce the requried ordering. A special value of 0x1 means that the ordering will be produced by |