File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
/* ****************************************************************************
2
2
3
3
Copyright (c) 1996, 2017, Oracle and/or its affiliates. All Rights Reserved.
4
- Copyright (c) 2014, 2018 , MariaDB Corporation.
4
+ Copyright (c) 2014, 2019 , MariaDB Corporation.
5
5
6
6
This program is free software; you can redistribute it and/or modify it under
7
7
the terms of the GNU General Public License as published by the Free Software
@@ -6995,7 +6995,9 @@ DeadlockChecker::trx_rollback()
6995
6995
6996
6996
print (" *** WE ROLL BACK TRANSACTION (1)\n " );
6997
6997
#ifdef WITH_WSREP
6998
- wsrep_handle_SR_rollback (m_start->mysql_thd , trx->mysql_thd );
6998
+ if (wsrep_on (trx->mysql_thd )) {
6999
+ wsrep_handle_SR_rollback (m_start->mysql_thd , trx->mysql_thd );
7000
+ }
6999
7001
#endif
7000
7002
7001
7003
trx_mutex_enter (trx);
You can’t perform that action at this time.
0 commit comments