From d42d01b9ead281eb855fde87621645b34ab7b79b Mon Sep 17 00:00:00 2001 From: "tnurnberg@mysql.com" <> Date: Wed, 19 Apr 2006 22:56:48 +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);