summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorSergey Petrunia <sergefp@mysql.com>2008-12-22 23:28:08 +0300
committerSergey Petrunia <sergefp@mysql.com>2008-12-22 23:28:08 +0300
commit6147201a17293fdaa0d455ec44e2758935e9b941 (patch)
treef5fec9ef87d487099c56f83728de6901395388a1 /sql/opt_range.cc
parent05ae989e76aaab49537ac8b83ed8358be0476991 (diff)
parent3d063e0c5b04e88027c728646d455ace5d97c315 (diff)
downloadmariadb-git-6147201a17293fdaa0d455ec44e2758935e9b941.tar.gz
Merge
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 744415fa2fe..ebebfafb5d8 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -7738,7 +7738,7 @@ get_best_group_min_max(PARAM *param, SEL_TREE *tree)
DBUG_RETURN(NULL);
/* The argument of MIN/MAX. */
- Item *expr= min_max_item->args[0]->real_item();
+ Item *expr= min_max_item->get_arg(0)->real_item();
if (expr->type() == Item::FIELD_ITEM) /* Is it an attribute? */
{
if (! min_max_arg_item)