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 | 7658444b9716497fcbad8de74478f52ba3f37ca9 (patch) | |
tree | f5fec9ef87d487099c56f83728de6901395388a1 /sql/opt_range.cc | |
parent | 7976735a0c34a35a7f726a2e985f53582db09282 (diff) | |
parent | 45c97126aff027e6179f850cd5d9793af3d9ccc8 (diff) | |
download | mariadb-git-7658444b9716497fcbad8de74478f52ba3f37ca9.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) |