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
mysql-test/r/group_min_max.result: Test results for BUG#6303 mysql-test/t/group_min_max.test: Ucommented tests for BUG#6303 sql/opt_range.cc: Comment fix
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user