diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-22 23:23:28 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-10-14 10:29:30 +0200 |
commit | a4a025f5d1aa123e31d86be82b79daa15a523b19 (patch) | |
tree | cc018f627daa711bb2fd87a61c41b6d52aab886f /sql/sql_base.h | |
parent | c7320830a62b0ed3245c476f074c534d3cd20027 (diff) | |
download | mariadb-git-a4a025f5d1aa123e31d86be82b79daa15a523b19.tar.gz |
cleanup: don't pass wild_num to setup_wild()
because internally setup_wild() adjusts select_lex->with_wild directly
anyway, so there is no reason to pretend that the number of '*' may be
anything else but select_lex->with_wild
And don't update select_lex->item_list, because fields can come
from anywhere and don't necessarily have to be copied into select_lex.
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r-- | sql/sql_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h index 28a787c56dd..40dd3ed0907 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -175,7 +175,7 @@ bool insert_fields(THD *thd, Name_resolution_context *context, void make_leaves_list(THD *thd, List<TABLE_LIST> &list, TABLE_LIST *tables, bool full_table_list, TABLE_LIST *boundary); int setup_wild(THD *thd, TABLE_LIST *tables, List<Item> &fields, - List<Item> *sum_func_list, uint wild_num, uint * hidden_bit_fields); + List<Item> *sum_func_list, SELECT_LEX *sl); bool setup_fields(THD *thd, Ref_ptr_array ref_pointer_array, List<Item> &item, enum_column_usage column_usage, List<Item> *sum_func_list, List<Item> *pre_fix, |