1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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

@ -1123,7 +1123,10 @@ public:
LEX_STRING s;
bool local;
uint offset;
my_var (LEX_STRING& j, bool i, uint o) : s(j), local(i), offset(o) {}
enum_field_types type;
my_var (LEX_STRING& j, bool i, uint o, enum_field_types t)
:s(j), local(i), offset(o), type(t)
{}
~my_var() {}
};