summaryrefslogtreecommitdiff
path: root/sql/group_by_handler.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-10-02 14:38:06 +0200
committerSergei Golubchik <serg@mariadb.org>2015-10-05 17:14:15 +0200
commitc93ac0a1c68ed73cc4a59a475a8d576122557001 (patch)
tree9e2e8007b6a861cfc11006a396256f79d25b81e1 /sql/group_by_handler.cc
parent7ca8b4bbfa3fc1ac12bbfc20530426fa534b9142 (diff)
downloadmariadb-git-c93ac0a1c68ed73cc4a59a475a8d576122557001.tar.gz
cleanups and simplifications
Diffstat (limited to 'sql/group_by_handler.cc')
-rw-r--r--sql/group_by_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/group_by_handler.cc b/sql/group_by_handler.cc
index ce73b1c3512..e3420b8d48d 100644
--- a/sql/group_by_handler.cc
+++ b/sql/group_by_handler.cc
@@ -70,7 +70,7 @@ int Pushdown_query::execute(JOIN *join)
}
/* Check if we can accept the row */
- if (!handler->having || handler->having->val_bool())
+ if (!having || having->val_bool())
{
if (store_data_in_temp_table)
{