summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <tnurnberg@mysql.com>2006-04-20 01:02:33 +0200
committerunknown <tnurnberg@mysql.com>2006-04-20 01:02:33 +0200
commit67aca614ba7c9ccacf5e9dd061a27f5d6ed8f992 (patch)
tree40b7bad33d65b82c47bb03d8c6aec00a88fc77bb /sql/sql_base.cc
parentc5faf3689b361392d50cdd7c81cc1b86c8a65b5a (diff)
downloadmariadb-git-67aca614ba7c9ccacf5e9dd061a27f5d6ed8f992.tar.gz
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: DBUG_ENTER without DBUG_RETURN in open_table()
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 1 insertions, 1 deletions
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);