diff options
author | unknown <monty@mysql.com> | 2005-03-22 02:36:31 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-03-22 02:36:31 +0200 |
commit | bac0698065f605eb43981e23903241f6eb27e2b7 (patch) | |
tree | 7f1c535278ee804bdde000081eadb3dc7fad9bf0 /sql/sql_select.cc | |
parent | 6d0d2c7e1d942f95b4f29645ef5007c43da56f79 (diff) | |
download | mariadb-git-bac0698065f605eb43981e23903241f6eb27e2b7.tar.gz |
Fixed newly introduced bug in ROLLUP
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 4b2484d1e06..c79912e7eae 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -9149,7 +9149,7 @@ bool JOIN::rollup_make_fields(List<Item> &fields_arg, List<Item> &sel_fields, { /* Check if this is something that is part of this group by */ ORDER *group_tmp; - for (group_tmp= start_group, i-- ; + for (group_tmp= start_group, i= pos ; group_tmp ; group_tmp= group_tmp->next, i++) { if (*group_tmp->item == item) |