summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authortimour@mysql.com <>2004-11-01 10:12:39 +0200
committertimour@mysql.com <>2004-11-01 10:12:39 +0200
commit157dfcf4a49a1f7aee22e5bb666703a6c2ba4382 (patch)
tree1bc028819cdff1fa667706ba1827797f4b85d1eb /sql/opt_range.cc
parentb67f86728bf2321c16571a7aa6b4a4f93d9e2a03 (diff)
downloadmariadb-git-157dfcf4a49a1f7aee22e5bb666703a6c2ba4382.tar.gz
Minor fixes of the patch for BUG#6303
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();