1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Moving a part of st_select_lex_unit::prepare() into a new method prepare_join()

This is to simplify the logic inside st_select_lex_unit::prepare(),
to implement data type aggregation for pluggable data types.
This commit is contained in:
Alexander Barkov
2017-04-26 09:49:41 +04:00
parent 2fd635409d
commit 61a771df00
2 changed files with 73 additions and 49 deletions

View File

@ -749,6 +749,9 @@ public:
/* UNION methods */
bool prepare(THD *thd, select_result *result, ulong additional_options);
bool prepare_join(THD *thd, SELECT_LEX *sl, select_result *result,
ulong additional_options,
bool is_union_select);
bool optimize();
bool exec();
bool exec_recursive();