Commit 9a29c1f4 authored by dlenev@mysql.com's avatar dlenev@mysql.com

Fix after merging patch solving bug #10055 "Using stored function with

information_schema causes empty result set" with main tree.
parent 0c38d335
......@@ -929,7 +929,7 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
we'll leave it here.
*/
if (!thd->in_sub_stmt)
close_thread_tables(thd, 0, 0, 0);
close_thread_tables(thd, 0, 0);
DBUG_PRINT("info",(" %.*s: eval args done", m_name.length, m_name.str));
// The rest of the frame are local variables which are all IN.
......
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