summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <timour@mysql.com>2004-11-01 10:12:39 +0200
committerunknown <timour@mysql.com>2004-11-01 10:12:39 +0200
commitde691e170568f9b480eaaada271271e42819664c (patch)
tree1bc028819cdff1fa667706ba1827797f4b85d1eb /sql/opt_range.cc
parent4cdb957bf609d0c82db377632e8a0c56907dc6f8 (diff)
downloadmariadb-git-de691e170568f9b480eaaada271271e42819664c.tar.gz
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
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 8f7e713e33d..48f48797a60 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -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();