1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
This commit is contained in:
serg@serg.mylan
2004-08-07 23:18:13 +02:00
parent 6e8503142e
commit e1e1c39bda
5 changed files with 20 additions and 7 deletions

View File

@ -868,7 +868,7 @@ JOIN::optimize()
((group_list && const_tables != tables &&
(!simple_group ||
!test_if_skip_sort_order(&join_tab[const_tables], group_list,
HA_POS_ERROR, 0))) || select_distinct) &&
unit->select_limit_cnt, 0))) || select_distinct) &&
tmp_table_param.quick_group && !procedure)
{
need_tmp=1; simple_order=simple_group=0; // Force tmp table without sort