mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -1571,6 +1571,15 @@ public:
|
||||
/* Number of tables actually joined at the top level */
|
||||
uint exec_join_tab_cnt() { return tables_list ? top_join_tab_count : 0; }
|
||||
|
||||
/*
|
||||
Number of tables in the join which also includes the temporary tables
|
||||
created for GROUP BY, DISTINCT , WINDOW FUNCTION etc.
|
||||
*/
|
||||
uint total_join_tab_cnt()
|
||||
{
|
||||
return exec_join_tab_cnt() + aggr_tables - 1;
|
||||
}
|
||||
|
||||
int prepare(TABLE_LIST *tables, uint wind_num,
|
||||
COND *conds, uint og_num, ORDER *order, bool skip_order_by,
|
||||
ORDER *group, Item *having, ORDER *proc_param, SELECT_LEX *select,
|
||||
|
Reference in New Issue
Block a user