diff options
author | pem@mysql.telia.com <> | 2003-10-14 12:59:28 +0200 |
---|---|---|
committer | pem@mysql.telia.com <> | 2003-10-14 12:59:28 +0200 |
commit | 225aada6d68e1650e5adcab5abb6336be380ef6b (patch) | |
tree | 5342ed0c4c015e0b898fea83341b508e5d1d94e4 /sql/sp_rcontext.h | |
parent | ed1b5c59f0a4b49a4dde12a90a7d38984d4565ba (diff) | |
download | mariadb-git-225aada6d68e1650e5adcab5abb6336be380ef6b.tar.gz |
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.
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r-- | sql/sp_rcontext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h index 027f2f74789..e69ac9bf4b4 100644 --- a/sql/sp_rcontext.h +++ b/sql/sp_rcontext.h @@ -69,6 +69,9 @@ class sp_rcontext : public Sql_alloc m_frame[idx] = i; } + void + set_item_eval(uint idx, Item *i, enum_field_types type); + inline Item * get_item(uint idx) { |