diff options
-rw-r--r-- | sql/sql_base.cc | 2 |
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); |