From ef99edf1a87d5234cf0dd8d496f0adfbf4040dad Mon Sep 17 00:00:00 2001 From: Kristian Nielsen Date: Wed, 6 May 2015 12:24:15 +0200 Subject: MDEV-8103: Missing DBUG_RETURN in open_table_uncached() --- 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 f337b3b6283..2d03e3d30cd 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -5640,7 +5640,7 @@ TABLE *open_table_uncached(THD *thd, handlerton *hton, /* Temporary tables are not safe for parallel replication. */ if (thd->rgi_slave && thd->rgi_slave->is_parallel_exec && thd->wait_for_prior_commit()) - return NULL; + DBUG_RETURN(NULL); } /* Create the cache_key for temporary tables */ -- cgit v1.2.1