mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Bug #31157: crash when select+order by the avg of some field within the group by
The uncacheable flag should be set at fix_fields() stage. Fixed by moving the flag setting to match the one in 5.1
This commit is contained in:
parent
5f5b7cc311
commit
fb640797b8
4 changed files with 40 additions and 1 deletions
|
|
@ -935,6 +935,7 @@ public:
|
|||
if (arg_count)
|
||||
max_length= args[0]->max_length;
|
||||
}
|
||||
bool fix_fields(THD *thd, Item **ref);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue