From cd5af2ba70adb860056a2a4ff4cc5cba3d175e11 Mon Sep 17 00:00:00 2001 From: "tnurnberg@mysql.com" <> Date: Thu, 20 Apr 2006 01:02:33 +0200 Subject: [PATCH] Bug#18964 "return 0 instead of DBUG_RETURN(0) in sql_base.cc::open_table()" fixlet corrects return to DBUG_RETURN to restore the balance. --- sql/sql_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 2b5a3d1f38d..4b063fdb5e6 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1103,7 +1103,7 @@ TABLE *open_table(THD *thd, TABLE_LIST *table_list, MEM_ROOT *mem_root, /* an open table operation needs a lot of the stack space */ if (check_stack_overrun(thd, STACK_MIN_SIZE_FOR_OPEN, (char *)&alias)) - return 0; + DBUG_RETURN(0); if (thd->killed) DBUG_RETURN(0);