1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
Sergey Petrunya
2010-05-25 17:13:19 +04:00
parent 62bf7f6124
commit a15e342d0b
3 changed files with 11 additions and 6 deletions

View File

@ -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