Commit 5c833689 authored by Kristian Nielsen's avatar Kristian Nielsen

Merge MDEV-8103 into 10.0

parents b9c89ad0 ef99edf1
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment