diff options
author | Sergey Petrunia <sergefp@mysql.com> | 2008-12-22 23:28:08 +0300 |
---|---|---|
committer | Sergey Petrunia <sergefp@mysql.com> | 2008-12-22 23:28:08 +0300 |
commit | 6147201a17293fdaa0d455ec44e2758935e9b941 (patch) | |
tree | f5fec9ef87d487099c56f83728de6901395388a1 /sql/opt_range.cc | |
parent | 05ae989e76aaab49537ac8b83ed8358be0476991 (diff) | |
parent | 3d063e0c5b04e88027c728646d455ace5d97c315 (diff) | |
download | mariadb-git-6147201a17293fdaa0d455ec44e2758935e9b941.tar.gz |
Merge
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 2 |
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) |