mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
48a0a66ffa
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.
12 lines
310 B
Text
12 lines
310 B
Text
--source include/have_wsrep_provider.inc
|
|
--source include/have_binlog_format_row.inc
|
|
|
|
--echo #
|
|
--echo # MDEV-10186: mysqld crash when runtime setting
|
|
--echo # wsrep_cluster_address without wsrep_on=ON
|
|
--echo #
|
|
|
|
SELECT @@wsrep_on;
|
|
SELECT @@GLOBAL.wsrep_provider;
|
|
SET @@GLOBAL.wsrep_cluster_address='gcomm://';
|
|
|