summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-02-07 13:32:55 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:56 +0400
commitd836f52be520c3d9cf6c7041aa332cb8c43e3d79 (patch)
tree6e6f4bef950271d573bc02e5320e4e95241da428 /sql/sp_rcontext.h
parent72f43df623261d5fe579cb355451d84216c8882d (diff)
downloadmariadb-git-d836f52be520c3d9cf6c7041aa332cb8c43e3d79.tar.gz
MDEV-12007 Allow ROW variables as a cursor FETCH target
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index 78cbfd9ec26..79d571faca7 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -190,6 +190,7 @@ public:
void set_variable_row_field_to_null(THD *thd, uint var_idx, uint field_idx);
int set_variable_row_field(THD *thd, uint var_idx, uint field_idx,
Item **value);
+ int set_variable_row(THD *thd, uint var_idx, List<Item> &items);
Item *get_item(uint var_idx) const
{ return m_var_items[var_idx]; }
@@ -419,6 +420,7 @@ private:
{
List<sp_variable> *spvar_list;
uint field_count;
+ bool send_data_to_variable_list(List<sp_variable> &vars, List<Item> &items);
public:
Select_fetch_into_spvars(THD *thd_arg): select_result_interceptor(thd_arg) {}
uint get_field_count() { return field_count; }