From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- .../suite/galera/include/galera_stop_replication.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mysql-test/suite/galera/include/galera_stop_replication.inc (limited to 'mysql-test/suite/galera/include/galera_stop_replication.inc') diff --git a/mysql-test/suite/galera/include/galera_stop_replication.inc b/mysql-test/suite/galera/include/galera_stop_replication.inc new file mode 100644 index 00000000..ed7e9bc4 --- /dev/null +++ b/mysql-test/suite/galera/include/galera_stop_replication.inc @@ -0,0 +1,14 @@ +--echo Unloading wsrep provider ... + +--let $wsrep_cluster_address_orig = `SELECT @@wsrep_cluster_address` +--let $wsrep_provider_options_orig = `SELECT @@wsrep_provider_options` +--let $wsrep_error_log_orig = `SELECT @@log_error` +if(!$wsrep_log_error_orig) +{ + # MySQL Server on windows is started with --console and thus + # does not know the location of its .err log, use default location + let $wsrep_log_error_orig = $MYSQLTEST_VARDIR/log/mysqld.2.err; +} +--let LOG_FILE= $wsrep_log_error_orig + +SET GLOBAL wsrep_cluster_address = ''; -- cgit v1.2.3