summaryrefslogtreecommitdiff
path: root/sql/wsrep_hton.cc
diff options
context:
space:
mode:
authorsjaakola <seppo.jaakola@iki.fi>2017-08-24 10:34:21 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2017-11-08 14:15:41 +0200
commitf4f2e8fa2a540a6e2edd75c9c6dd97ed4185163d (patch)
tree7f2c269cc289e73fa0c4ad180798428d319c9a70 /sql/wsrep_hton.cc
parente5e33db5fb5c895f715b3d7ce19eed0fd06a4b8d (diff)
downloadmariadb-git-f4f2e8fa2a540a6e2edd75c9c6dd97ed4185163d.tar.gz
MW-402 cascading FK issues
* created tests focusing in multi-master conflicts during cascading foreign key processing * in row0upd.cc, calling wsrep_row_ups_check_foreign_constraints only when running in cluster * in row0ins.cc fixed regression from MW-369, which caused crash with MW-402.test
Diffstat (limited to 'sql/wsrep_hton.cc')
-rw-r--r--sql/wsrep_hton.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc
index 47697c34eb4..a9dbc1a17c2 100644
--- a/sql/wsrep_hton.cc
+++ b/sql/wsrep_hton.cc
@@ -498,6 +498,9 @@ wsrep_run_wsrep_commit(THD *thd, handlerton *hton, bool all)
}
mysql_mutex_lock(&thd->LOCK_wsrep_thd);
+
+ DEBUG_SYNC(thd, "wsrep_after_replication");
+
switch(rcode) {
case 0:
/*