Commit 570431bc authored by ingo@mysql.com's avatar ingo@mysql.com

Merge mysql.com:/home/mydev/mysql-5.0

into mysql.com:/home/mydev/mysql-5.0-5000
parents 3f806c3b fbade5db
...@@ -681,6 +681,8 @@ sp_head::execute_procedure(THD *thd, List<Item> *args) ...@@ -681,6 +681,8 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
nctx->set_oindex(i, static_cast<Item_splocal *>(it)->get_offset()); nctx->set_oindex(i, static_cast<Item_splocal *>(it)->get_offset());
} }
} }
// Clean up the joins before closing the tables.
thd->lex->unit.cleanup();
// Close tables opened for subselect in argument list // Close tables opened for subselect in argument list
close_thread_tables(thd); close_thread_tables(thd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment