mirror of
https://github.com/MariaDB/server.git
synced 2025-12-03 05:41:09 +03:00
Fix for BUG#1495: Evaluate items before setting a local variable with SELECT INTO.
Also copy and restore order_list and group_list for selects in SPs.
This commit is contained in:
@@ -1137,7 +1137,7 @@ bool select_dumpvar::send_data(List<Item> &items)
|
||||
{
|
||||
if ((yy=var_li++))
|
||||
{
|
||||
thd->spcont->set_item(yy->get_offset(), item);
|
||||
thd->spcont->set_item_eval(yy->get_offset(), item, zz->type);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user