diff options
author | Alexey Yurchenko <ayurchen@galeracluster.com> | 2017-06-19 17:23:02 +0700 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-10-19 09:34:09 +0300 |
commit | 86d31ce9f141d34fffcf7f355d4c0e6e54077eb3 (patch) | |
tree | f67f470ef746d475691f322e6a2992250f56338f /sql/slave.cc | |
parent | 8da6b4ef5260179b1577843517c46e4b95a9e911 (diff) | |
download | mariadb-git-86d31ce9f141d34fffcf7f355d4c0e6e54077eb3.tar.gz |
MW-384 protect access to wsrep_ready variable with mutex
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 5f7c5ffdb84..f370e3dd27f 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -3794,7 +3794,7 @@ err_during_init: */ if (wsrep_node_dropped && wsrep_restart_slave) { - if (wsrep_ready) + if (wsrep_ready_get()) { WSREP_INFO("Slave error due to node temporarily non-primary" "SQL slave will continue"); |