summaryrefslogtreecommitdiff
path: root/sql/field.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-05-10 18:14:08 +0400
committerAlexander Barkov <bar@mariadb.org>2017-05-10 18:14:08 +0400
commit533506b4edb5873dc25ae335dbd018da37235f2b (patch)
tree9f9b3e36d6ac3df9428f55e72dffeca775974968 /sql/field.cc
parent191638416b3dbc206b4955639533e87cd488550c (diff)
downloadmariadb-git-533506b4edb5873dc25ae335dbd018da37235f2b.tar.gz
MDEV-12777 Change Lex_field_type_st::m_type from enum_field_types to Type_handler pointer
Diffstat (limited to 'sql/field.cc')
-rw-r--r--sql/field.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.cc b/sql/field.cc
index b0345788bf3..3bff4213f7c 100644
--- a/sql/field.cc
+++ b/sql/field.cc
@@ -9787,7 +9787,7 @@ void Column_definition::set_attributes(const Lex_field_type_st &type,
DBUG_ASSERT(length == 0);
DBUG_ASSERT(decimals == 0);
- set_handler_by_real_type(type.field_type());
+ set_handler(type.type_handler());
charset= cs;
if (type.length())