Commit 48c12564 authored by unknown's avatar unknown
Browse files

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

information_schema causes empty result set" with main tree.


sql/sp_head.cc:
  Now close_thread_tables() does not have 4th 'stopper' argument.
parent 8103db27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.