mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 11:15:33 +02:00
a fix for a bug with all_fields.elements not being changed by
expansion of the wildcards
This commit is contained in:
parent
a0793f647a
commit
bdf915639c
4 changed files with 24 additions and 2 deletions
|
|
@ -639,8 +639,7 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
|
|||
DBUG_PRINT("info",("Creating tmp table"));
|
||||
thd->proc_info="Creating tmp table";
|
||||
|
||||
join.tmp_table_param.hidden_field_count=
|
||||
(all_fields.elements > fields.elements) ? (all_fields.elements- fields.elements) : 0;
|
||||
join.tmp_table_param.hidden_field_count= all_fields.elements- fields.elements;
|
||||
if (!(tmp_table =
|
||||
create_tmp_table(thd,&join.tmp_table_param,all_fields,
|
||||
((!simple_group && !procedure &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue