1
0
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:
pem@mysql.telia.com
2003-10-14 12:59:28 +02:00
parent ed1b5c59f0
commit 225aada6d6
10 changed files with 176 additions and 18 deletions

View File

@@ -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