diff options
author | igor@rurik.mysql.com <> | 2006-01-07 23:00:06 -0800 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2006-01-07 23:00:06 -0800 |
commit | 05947d9916a9b85a32d8cda770de12ceb544e90f (patch) | |
tree | 4b770f750dd504114956bf8b90f322d623837a39 /sql/sql_select.cc | |
parent | f7d6fa6f1733e64f202e517d7391c868a53b125a (diff) | |
download | mariadb-git-05947d9916a9b85a32d8cda770de12ceb544e90f.tar.gz |
Fixed bug #14274: a query with a having clause containing only set function returned a wrong result set.
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 5e29c98e2c8..09900c89307 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -287,7 +287,7 @@ JOIN::prepare(Item ***rref_pointer_array, if (having_fix_rc || thd->net.report_error) DBUG_RETURN(-1); /* purecov: inspected */ if (having->with_sum_func) - having->split_sum_func(thd, ref_pointer_array, all_fields); + having->split_sum_func2(thd, ref_pointer_array, all_fields, &having); } // Is it subselect |