summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-03-16 13:43:06 +0400
committerAlexander Barkov <bar@mariadb.org>2016-03-16 13:43:06 +0400
commit9b53d84d14a9b031d193f6beae382a232aa738e3 (patch)
tree05c7182671a394d86b55718a54140ac16146b66a /sql/item_sum.h
parentd5d0c35f23c54c3ddddaebfeaa77ad80439f0ebd (diff)
downloadmariadb-git-9b53d84d14a9b031d193f6beae382a232aa738e3.tar.gz
MDEV-9656 Assertion `0' failed in Item_sum_field::get_tmp_table_field().
Removing a wrong ASSERT. Item_sum_field now uses the inherited Item::get_tmp_table_field().
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index db38cf56723..11d2f802af7 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -1084,7 +1084,6 @@ public:
fixed= true;
}
table_map used_tables() const { return (table_map) 1L; }
- Field *get_tmp_table_field() { DBUG_ASSERT(0); return NULL; }
Field *tmp_table_field(TABLE *) { DBUG_ASSERT(0); return NULL; }
void set_result_field(Field *) { DBUG_ASSERT(0); }
void save_in_result_field(bool no_conversions) { DBUG_ASSERT(0); }