summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorpem@mysql.com <>2005-02-18 17:46:30 +0100
committerpem@mysql.com <>2005-02-18 17:46:30 +0100
commit32a3c163859422681afa84bddcb1998b0b3b4e7a (patch)
tree3aee490b6ffd2691a8faadcc54234969b19c8dec /sql/sp_head.cc
parent34e7e98a45f4d9190697c1fe328017dbeedb2021 (diff)
parenta69fc3c03fe11c1f03a12824b3c54726d3ed1b57 (diff)
downloadmariadb-git-32a3c163859422681afa84bddcb1998b0b3b4e7a.tar.gz
Merge mysql.com:/usr/local/bk/mysql-5.0
into mysql.com:/home/pem/work/mysql-5.0
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 26fb94e5234..4c03e88f33a 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1251,6 +1251,7 @@ sp_instr_stmt::exec_stmt(THD *thd, LEX *lex)
res= mysql_execute_command(thd);
lex->unit.cleanup();
+ thd->rollback_item_tree_changes();
if (thd->lock || thd->open_tables || thd->derived_tables)
{
thd->proc_info="closing tables";