Commit 31c069eb authored by Kristian Nielsen's avatar Kristian Nielsen

Merge MDEV-8103 into 10.1

parents 539b3ca8 ef99edf1
......@@ -5676,7 +5676,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