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:
gkodinov/kgeorge@magare.gmz 2007-10-19 15:43:19 +03:00
commit fb640797b8
4 changed files with 40 additions and 1 deletions

View file

@ -935,6 +935,7 @@ public:
if (arg_count)
max_length= args[0]->max_length;
}
bool fix_fields(THD *thd, Item **ref);
};