mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed the bug mdev-13796.
A reference to a CTE may occur not in the master of the CTE specification. In this case if the reference to the CTE is the first one the specification should be detached from its master and attached to the referencing select. Also fixed the TYPE column in the lines of the EXPLAIN output created for CTE tables.
This commit is contained in:
@ -561,6 +561,7 @@ public:
|
||||
}
|
||||
st_select_lex_node *insert_chain_before(st_select_lex_node **ptr_pos_to_insert,
|
||||
st_select_lex_node *end_chain_node);
|
||||
void move_as_slave(st_select_lex_node *new_master);
|
||||
friend class st_select_lex_unit;
|
||||
friend bool mysql_new_select(LEX *lex, bool move_down);
|
||||
friend bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table,
|
||||
|
Reference in New Issue
Block a user