mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 06:05:32 +02:00
Fixed bug with GROUP BY and alias
mysql-test/r/group_by.result: Test for group by + alias bug mysql-test/t/group_by.test: Test for group by + alias bug
This commit is contained in:
parent
7517a59a6d
commit
829045100d
3 changed files with 32 additions and 0 deletions
|
|
@ -665,6 +665,7 @@ bool Item_ref::fix_fields(THD *thd,TABLE_LIST *tables)
|
|||
maybe_null= (*ref)->maybe_null;
|
||||
decimals= (*ref)->decimals;
|
||||
binary= (*ref)->binary;
|
||||
with_sum_func= (*ref)->with_sum_func;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue