1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-5317 out parameters in PREPARE "SELECT ... INTO"

originally based on the patch by Antony T Curtis
This commit is contained in:
Sergei Golubchik
2014-08-13 21:04:05 +02:00
parent 278f7fdd7e
commit a99af484cd
14 changed files with 351 additions and 9 deletions

View File

@@ -3743,6 +3743,11 @@ bool my_var_sp::set(THD *thd, Item *item)
return thd->spcont->set_variable(thd, offset, &item);
}
bool my_var_param::set(THD *thd, Item *item)
{
return param->set_value(thd, 0, &item);
}
int select_dumpvar::send_data(List<Item> &items)
{
List_iterator_fast<my_var> var_li(var_list);