summaryrefslogtreecommitdiff
path: root/sql/item_sum.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-05-10 11:02:02 +0400
committerAlexander Barkov <bar@mariadb.org>2017-05-10 11:02:02 +0400
commit191638416b3dbc206b4955639533e87cd488550c (patch)
treef8101d1a53520ad09d1e0d60d8e1679151646363 /sql/item_sum.h
parent0f642188ccdd309056f3a2a29be6cf3cc83dc256 (diff)
downloadmariadb-git-191638416b3dbc206b4955639533e87cd488550c.tar.gz
MDEV-12772 Add Field::get_typelib() and Item::get_typelib()
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index dee480ccf0a..c1485738b11 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -1044,6 +1044,7 @@ protected:
}
const Type_handler *type_handler() const
{ return Type_handler_hybrid_field_type::type_handler(); }
+ TYPELIB *get_typelib() const { return args[0]->get_typelib(); }
void update_field();
void min_max_update_str_field();
void min_max_update_real_field();