diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2017-08-24 10:34:21 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-11-08 14:15:41 +0200 |
commit | f4f2e8fa2a540a6e2edd75c9c6dd97ed4185163d (patch) | |
tree | 7f2c269cc289e73fa0c4ad180798428d319c9a70 /sql/wsrep_hton.cc | |
parent | e5e33db5fb5c895f715b3d7ce19eed0fd06a4b8d (diff) | |
download | mariadb-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.cc | 3 |
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: /* |