mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
cleanup: comments and whitespaces
This commit is contained in:
@ -4990,7 +4990,7 @@ public:
|
|||||||
virtual uint field_count(List<Item> &fields) const
|
virtual uint field_count(List<Item> &fields) const
|
||||||
{ return fields.elements; }
|
{ return fields.elements; }
|
||||||
virtual bool send_result_set_metadata(List<Item> &list, uint flags)=0;
|
virtual bool send_result_set_metadata(List<Item> &list, uint flags)=0;
|
||||||
virtual bool initialize_tables (JOIN *join=0) { return 0; }
|
virtual bool initialize_tables (JOIN *join) { return 0; }
|
||||||
virtual bool send_eof()=0;
|
virtual bool send_eof()=0;
|
||||||
/**
|
/**
|
||||||
Check if this query returns a result set and therefore is allowed in
|
Check if this query returns a result set and therefore is allowed in
|
||||||
@ -5542,7 +5542,7 @@ public:
|
|||||||
bool postponed_prepare(List<Item> &types);
|
bool postponed_prepare(List<Item> &types);
|
||||||
bool send_result_set_metadata(List<Item> &list, uint flags);
|
bool send_result_set_metadata(List<Item> &list, uint flags);
|
||||||
int send_data(List<Item> &items);
|
int send_data(List<Item> &items);
|
||||||
bool initialize_tables (JOIN *join= NULL);
|
bool initialize_tables (JOIN *join);
|
||||||
bool send_eof();
|
bool send_eof();
|
||||||
bool flush() { return false; }
|
bool flush() { return false; }
|
||||||
bool check_simple_select() const
|
bool check_simple_select() const
|
||||||
|
@ -3002,8 +3002,7 @@ bool JOIN::make_aggr_tables_info()
|
|||||||
curr_all_fields->elements - curr_fields_list->elements;
|
curr_all_fields->elements - curr_fields_list->elements;
|
||||||
ORDER *dummy= NULL; //TODO can use table->group here also
|
ORDER *dummy= NULL; //TODO can use table->group here also
|
||||||
|
|
||||||
if (create_postjoin_aggr_table(curr_tab,
|
if (create_postjoin_aggr_table(curr_tab, curr_all_fields, dummy, true,
|
||||||
curr_all_fields, dummy, true,
|
|
||||||
distinct, keep_row_order))
|
distinct, keep_row_order))
|
||||||
DBUG_RETURN(true);
|
DBUG_RETURN(true);
|
||||||
|
|
||||||
@ -3274,8 +3273,8 @@ JOIN::create_postjoin_aggr_table(JOIN_TAB *tab, List<Item> *table_fields,
|
|||||||
*/
|
*/
|
||||||
ha_rows table_rows_limit= ((order == NULL || skip_sort_order) &&
|
ha_rows table_rows_limit= ((order == NULL || skip_sort_order) &&
|
||||||
!table_group &&
|
!table_group &&
|
||||||
!select_lex->with_sum_func) ?
|
!select_lex->with_sum_func) ? select_limit
|
||||||
select_limit : HA_POS_ERROR;
|
: HA_POS_ERROR;
|
||||||
|
|
||||||
if (!(tab->tmp_table_param= new TMP_TABLE_PARAM(tmp_table_param)))
|
if (!(tab->tmp_table_param= new TMP_TABLE_PARAM(tmp_table_param)))
|
||||||
DBUG_RETURN(true);
|
DBUG_RETURN(true);
|
||||||
@ -16628,8 +16627,6 @@ static void create_tmp_field_from_item_finalize(THD *thd,
|
|||||||
update the record in the original table.
|
update the record in the original table.
|
||||||
If modify_item is 0 then fill_record() will
|
If modify_item is 0 then fill_record() will
|
||||||
update the temporary table
|
update the temporary table
|
||||||
@param convert_blob_length If >0 create a varstring(convert_blob_length)
|
|
||||||
field instead of blob.
|
|
||||||
|
|
||||||
@retval
|
@retval
|
||||||
0 on error
|
0 on error
|
||||||
@ -16947,6 +16944,10 @@ setup_tmp_table_column_bitmaps(TABLE *table, uchar *bitmaps)
|
|||||||
temporary table
|
temporary table
|
||||||
@param table_alias possible name of the temporary table that can
|
@param table_alias possible name of the temporary table that can
|
||||||
be used for name resolving; can be "".
|
be used for name resolving; can be "".
|
||||||
|
@param do_not_open only create the TABLE object, do not
|
||||||
|
open the table in the engine
|
||||||
|
@param keep_row_order rows need to be read in the order they were
|
||||||
|
inserted, the engine should preserve this order
|
||||||
*/
|
*/
|
||||||
|
|
||||||
TABLE *
|
TABLE *
|
||||||
|
@ -470,7 +470,7 @@ typedef struct st_join_table {
|
|||||||
Window_funcs_computation* window_funcs_step;
|
Window_funcs_computation* window_funcs_step;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
List of topmost expressions in the select list. The *next* JOIN TAB
|
List of topmost expressions in the select list. The *next* JOIN_TAB
|
||||||
in the plan should use it to obtain correct values. Same applicable to
|
in the plan should use it to obtain correct values. Same applicable to
|
||||||
all_fields. These lists are needed because after tmp tables functions
|
all_fields. These lists are needed because after tmp tables functions
|
||||||
will be turned to fields. These variables are pointing to
|
will be turned to fields. These variables are pointing to
|
||||||
|
Reference in New Issue
Block a user