summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-03-18 17:39:17 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:03:00 +0400
commite0451941ccb6adc11490099cdb7b1564af62ee68 (patch)
tree72f4b12e4a7862fa160a3ff8e346ea0d50e6addb /sql/sp_pcontext.h
parent9dfe7bf86dd1743dc3bf33a8c09937aca9db503a (diff)
downloadmariadb-git-e0451941ccb6adc11490099cdb7b1564af62ee68.tar.gz
MDEV-12291 Allow ROW variables as SELECT INTO targets
Diffstat (limited to 'sql/sp_pcontext.h')
-rw-r--r--sql/sp_pcontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h
index f8ca45da4ae..98ab4955198 100644
--- a/sql/sp_pcontext.h
+++ b/sql/sp_pcontext.h
@@ -61,6 +61,9 @@ public:
/// Field-type of the SP-variable.
enum_field_types sql_type() const { return field_def.sql_type; }
+
+ const Type_handler *type_handler() const { return field_def.type_handler(); }
+
public:
sp_variable(LEX_STRING _name, uint _offset)
:Sql_alloc(),