diff options
Diffstat (limited to 'sql/sql_base.cc')
-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 3731c646b20..619bd4bd98f 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 */ |