0%

LEX

推荐参考 https://dev.mysql.com/doc/dev/mysql-server/8.0.20/structLEX.html

1
2
3
4
5
6
7
8
9
10
11
12
struct LEX : 
public Query_tables_list, public im::Query_blocks_list {

SELECT_LEX_UNIT *unit; ///< Outer-most query expression
/// @todo: select_lex can be replaced with unit->first-select()
SELECT_LEX *select_lex; ///< First query block
SELECT_LEX *all_selects_list; ///< List of all query blocks
private:
/* current SELECT_LEX in parsing */
SELECT_LEX *m_current_select;

}