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

Minor fixes of the patch for BUG#6303

This commit is contained in:
timour@mysql.com
2004-11-01 10:12:39 +02:00
parent b67f86728b
commit 157dfcf4a4
3 changed files with 35 additions and 14 deletions

View File

@ -6965,8 +6965,9 @@ check_group_min_max_predicates(COND *cond, Item_field *min_max_arg_item,
if (cur_arg->type() == Item::FIELD_ITEM)
{
if (min_max_arg_item->eq(cur_arg, 1))
{/*
If pred references the MIN/MAX argument check whether pred is a range
{
/*
If pred references the MIN/MAX argument, check whether pred is a range
condition that compares the MIN/MAX argument with a constant.
*/
Item_func::Functype pred_type= pred->functype();