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:
@ -1063,6 +1063,14 @@ public:
|
||||
converted to a GROUP BY involving BIT fields.
|
||||
*/
|
||||
uint hidden_bit_fields;
|
||||
/*
|
||||
Number of fields used in the definition of all the windows functions.
|
||||
This includes:
|
||||
1) Fields in the arguments
|
||||
2) Fields in the PARTITION BY clause
|
||||
3) Fields in the ORDER BY clause
|
||||
*/
|
||||
uint fields_in_window_functions;
|
||||
enum_parsing_place parsing_place; /* where we are parsing expression */
|
||||
enum_parsing_place context_analysis_place; /* where we are in prepare */
|
||||
bool with_sum_func; /* sum function indicator */
|
||||
@ -1385,10 +1393,7 @@ public:
|
||||
SQL_I_List<ORDER> win_order_list,
|
||||
Window_frame *win_frame);
|
||||
List<Item_window_func> window_funcs;
|
||||
bool add_window_func(Item_window_func *win_func)
|
||||
{
|
||||
return window_funcs.push_back(win_func);
|
||||
}
|
||||
bool add_window_func(Item_window_func *win_func);
|
||||
|
||||
bool have_window_funcs() const { return (window_funcs.elements !=0); }
|
||||
ORDER *find_common_window_func_partition_fields(THD *thd);
|
||||
|
Reference in New Issue
Block a user