summaryrefslogtreecommitdiff
path: root/mysql-test/include/mtr_warnings.sql
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2015-04-13 09:52:56 +0200
committerKristian Nielsen <knielsen@knielsen-hq.org>2015-04-13 14:24:18 +0200
commit60d094aeacb0c1433f2510e0228b2791745ae53e (patch)
treeb039a966eadd8788c497d32bd65e7e2228812d11 /mysql-test/include/mtr_warnings.sql
parentc47fe0e9db7f3f111618a6a6e488aaf8257b231a (diff)
downloadmariadb-git-60d094aeacb0c1433f2510e0228b2791745ae53e.tar.gz
MDEV-7936: Assertion `!table || table->in_use == _current_thd()' failed on parallel replication in optimistic mode
Make sure that in parallel replication, we execute wait_for_prior_commit() before setting table->in_use for a temporary table. Otherwise we can end up with two parallel replication worker threads competing with each other for use of a temporary table. Re-factor the use of find_temporary_table() to be able to handle errors in the caller (as wait_for_prior_commit() can return error in case of deadlock kill).
Diffstat (limited to 'mysql-test/include/mtr_warnings.sql')
0 files changed, 0 insertions, 0 deletions