mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
MDEV-9462: Out of memory using explain on 2 empty tables
Fixed adding derived tables items to outer one.
This commit is contained in:
parent
ad94790f46
commit
41021c0254
5 changed files with 604 additions and 11 deletions
|
|
@ -1060,6 +1060,13 @@ private:
|
|||
index_clause_map current_index_hint_clause;
|
||||
/* a list of USE/FORCE/IGNORE INDEX */
|
||||
List<Index_hint> *index_hints;
|
||||
|
||||
public:
|
||||
inline void add_where_field(st_select_lex *sel)
|
||||
{
|
||||
DBUG_ASSERT(this != sel);
|
||||
select_n_where_fields+= sel->select_n_where_fields;
|
||||
}
|
||||
};
|
||||
typedef class st_select_lex SELECT_LEX;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue