summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-08-14 19:51:10 +0300
committerSergei Golubchik <serg@mariadb.org>2021-05-19 22:27:28 +0200
commit7ca4e381f7af59dad07aebc5dc4f467b235ab962 (patch)
tree3de6d7b45fd61b0cd5da08c4dbb6b0482861aaf5 /sql/item_sum.cc
parent9448548481c590257f1523731fa81327db8db4ae (diff)
downloadmariadb-git-7ca4e381f7af59dad07aebc5dc4f467b235ab962.tar.gz
Removed Item::is_fixed() and Item::has_subquery()
One should instead use Item::fixed() and Item::with_subquery() Removed Item::is_fixed() and has_subquery() and did the following replace: replace is_fixed() fixed() -- *.* replace 'has_subquery()' 'with_subquery()' -- *.*
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index e86327e22e5..a3d15db4e5e 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -895,7 +895,7 @@ bool Aggregator_distinct::setup(THD *thd)
item_sum->flags|= ITEM_FLAG_MAYBE_NULL;
item_sum->quick_group= 0;
- DBUG_ASSERT(item_sum->get_arg(0)->is_fixed());
+ DBUG_ASSERT(item_sum->get_arg(0)->fixed());
arg= item_sum->get_arg(0);
if (arg->const_item())