mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
MDEV-19950: Galera test failure on galera_ssl_upgrade
The test requires adaptation for MariaDB, which is done in this patch. In addition, this patch includes a fix for the SST script startup code that adds escaping for special characters on the command line (in case they are contained in the arguments to mysqld). The fix does not require separate tests, as the required tests are already part of the mtr suite for Galera.
This commit is contained in:
parent
362dcf9e01
commit
95003eab45
6 changed files with 79 additions and 14 deletions
8
mysql-test/suite/galera/include/galera_base_port.inc
Normal file
8
mysql-test/suite/galera/include/galera_base_port.inc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# Extract base_port from galera node.
|
||||
#
|
||||
|
||||
# Convert "... base_port = N; ..." to "N; ..."
|
||||
--let $s1 = `SELECT SUBSTR(@@wsrep_provider_options, LOCATE('base_port =', @@wsrep_provider_options) + LENGTH('base_port = '))`
|
||||
# Convert "N; ..." to "N"
|
||||
--let $_NODE_GALERAPORT = `SELECT SUBSTR('$s1', 1, LOCATE(';', '$s1') - 1)`
|
||||
Loading…
Add table
Add a link
Reference in a new issue