summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-05-05 07:00:18 +0400
committerAlexander Barkov <bar@mariadb.org>2017-05-05 07:00:18 +0400
commitaacb4d57ca5ac2dfb71bedd5b992c157b8f53b79 (patch)
treef17c1ef60d2ac771df983d62fe9103113f1632a0 /sql/sp_pcontext.h
parent1ff79562b87e2fb665bccf5c5979294fabca25f6 (diff)
downloadmariadb-git-aacb4d57ca5ac2dfb71bedd5b992c157b8f53b79.tar.gz
MDEV-12695 Add Column_definition::type_handler()
Diffstat (limited to 'sql/sp_pcontext.h')
-rw-r--r--sql/sp_pcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h
index 841ea8526a5..215ebbe5f77 100644
--- a/sql/sp_pcontext.h
+++ b/sql/sp_pcontext.h
@@ -60,7 +60,7 @@ public:
Spvar_definition field_def;
/// Field-type of the SP-variable.
- enum_field_types sql_type() const { return field_def.sql_type; }
+ enum_field_types sql_type() const { return field_def.real_field_type(); }
const Type_handler *type_handler() const { return field_def.type_handler(); }