1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

5.2 -> 5.3

This commit is contained in:
Sergei Golubchik
2013-02-28 21:48:47 +01:00
115 changed files with 2395 additions and 1029 deletions

View File

@ -11806,6 +11806,13 @@ get_best_group_min_max(PARAM *param, SEL_TREE *tree)
else
goto next_index;
}
/*
This function is called on the precondition that the index is covering.
Therefore if the GROUP BY list contains more elements than the index,
these are duplicates. The GROUP BY list cannot be a prefix of the index.
*/
if (cur_part == end_part && tmp_group)
goto next_index;
}
/*
Check (GA2) if this is a DISTINCT query.