1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/mysql-test/suite/wsrep/r/mdev_10186.result
Nirbhay Choubey 48a0a66ffa MDEV-10186: mysqld crash when runtime setting wsrep_cluster_address without wsrep_on=ON
On wsrep_cluster_address update, node restarts the replication
and attempts to connect to the new address. In this process it
makes a call to wsrep provider's connect API, which could lead
to segfault if wsrep provider is not loaded (wsrep_on=OFF).

Fixed by making sure that it proceeds only if a provider is
loaded.
2016-06-27 18:15:47 -04:00

12 lines
264 B
Plaintext

#
# MDEV-10186: mysqld crash when runtime setting
# wsrep_cluster_address without wsrep_on=ON
#
SELECT @@wsrep_on;
@@wsrep_on
0
SELECT @@GLOBAL.wsrep_provider;
@@GLOBAL.wsrep_provider
/usr/lib/galera/libgalera_smm.so
SET @@GLOBAL.wsrep_cluster_address='gcomm://';