New version 10.5.10 for mariadb introduce
We replies on the upstream mariadb community and release experience for mariadb 10.5.10 on aarch64 and x86 platform.
This commit is contained in:
parent
822dd3d2d4
commit
f6b53f1ed0
@ -1,81 +0,0 @@
|
||||
From ea4fbf5f164c60f736a5e987478dd1a4fc976371 Mon Sep 17 00:00:00 2001
|
||||
From: eulerstorage <eulerstorage@huawei.com>
|
||||
Date: Mon, 13 Jan 2020 17:35:50 +0800
|
||||
Subject: [PATCH] Disable some unstable testcase
|
||||
|
||||
Some testcases are unstable, they will fail if the test environment
|
||||
is not suitable, for example network is broken.
|
||||
---
|
||||
mysql-test/unstable-tests | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/mysql-test/unstable-tests b/mysql-test/unstable-tests
|
||||
index 2c28c9a..9ea0ebc 100644
|
||||
--- a/mysql-test/unstable-tests
|
||||
+++ b/mysql-test/unstable-tests
|
||||
@@ -262,6 +262,7 @@ innodb.truncate_purge_debug : Include fil
|
||||
innodb.update_time : MDEV-14804 - Wrong result
|
||||
innodb.undo_log : Include file modified in 10.2.17, 10.3.9
|
||||
innodb.xa_recovery : MDEV-15279 - mysqld got exception
|
||||
+innodb.innodb_defrag_binlog :
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
@@ -389,6 +390,8 @@ main.mysql_upgrade_noengine : MDEV-14355
|
||||
main.mysql_upgrade_ssl : MDEV-13492 - Unknown SSL error
|
||||
main.olap : Modified in 10.3.8
|
||||
main.openssl_1 : MDEV-13492 - Unknown SSL error
|
||||
+main.openssl_6975 :
|
||||
+main.ssl_cipher :
|
||||
main.order_by_optimizer_innodb : MDEV-10683 - Wrong result
|
||||
main.partition_debug_sync : MDEV-15669 - Deadlock found when trying to get lock
|
||||
main.partition_innodb_plugin : MDEV-12901 - Valgrind warnings
|
||||
@@ -418,6 +421,11 @@ main.ssl_ca : MDEV-10895
|
||||
main.ssl_cert_verify : MDEV-13735 - Server crash
|
||||
main.ssl_connect : MDEV-13492 - Unknown SSL error
|
||||
main.ssl_timeout : MDEV-11244 - Crash
|
||||
+main.ssl_7937 :
|
||||
+main.ssl_crl_clients :
|
||||
+main.ssl_8k_key :
|
||||
+main.ssl :
|
||||
+main.ssl_cipher :
|
||||
main.statistics_close : Added in 10.3.8
|
||||
main.statistics : Modified in 10.3.8
|
||||
main.stat_tables : Modified in 10.1.35, 10.2.17, 10.3.9
|
||||
@@ -523,6 +531,7 @@ parts.partition_exch_qa_10 : MDEV-11765
|
||||
parts.partition_innodb_status_file : MDEV-12901 - Valgrind
|
||||
parts.partition_special_innodb : MDEV-16942 - Timeout
|
||||
parts.truncate_locked : Added in 10.1.35, 10.2.17, 10.3.9
|
||||
+parts.partition_alter4_innodb :
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
@@ -549,6 +558,9 @@ perfschema.stage_mdl_global : MDEV-11803
|
||||
perfschema.stage_mdl_procedure : MDEV-11545 - Missing row
|
||||
perfschema.stage_mdl_table : MDEV-12638 - Wrong result
|
||||
perfschema.threads_mysql : MDEV-10677 - Wrong result
|
||||
+perfschema.nesting :
|
||||
+perfschema.socket_summary_by_instance_func :
|
||||
+perfschema.cnf_option :
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
@@ -716,6 +728,7 @@ rpl.rpl_temporary_error2 : MDEV-10634
|
||||
rpl.sec_behind_master-5114 : MDEV-13878 - Wrong result
|
||||
|
||||
rpl/extra/rpl_tests.* : MDEV-10994 - Not maintained
|
||||
+rpl.rpl_connection :
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
@@ -769,6 +782,7 @@ sys_vars.slow_query_log_func : MDEV-14273
|
||||
sys_vars.sysvars_innodb : Modified in 10.3.8
|
||||
sys_vars.thread_cache_size_func : MDEV-11775 - Wrong result
|
||||
sys_vars.wait_timeout_func : MDEV-12896 - Wrong result
|
||||
+sys_vars.slave_parallel_threads_basic :
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
From 22caf578e446809de75555ec8252f09da50c8db1 Mon Sep 17 00:00:00 2001
|
||||
From: eulerstorage <eulerstorage@huawei.com>
|
||||
Date: Sun, 19 Jan 2020 22:54:38 +0800
|
||||
Subject: [PATCH] add mysql install db command
|
||||
|
||||
---
|
||||
support-files/mariadb.service.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/support-files/mariadb.service.in b/support-files/mariadb.service.in
|
||||
index 8d43b6d..56ccb1a 100644
|
||||
--- a/support-files/mariadb.service.in
|
||||
+++ b/support-files/mariadb.service.in
|
||||
@@ -73,7 +73,7 @@ ExecStartPre=/bin/sh -c "[ ! -e @bindir@/galera_recovery ] && VAR= || \
|
||||
&& systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1"
|
||||
|
||||
# Needed to create system tables etc.
|
||||
-# ExecStartPre=@scriptdir@/mysql_install_db -u mysql
|
||||
+ExecStartPre=@scriptdir@/mysql_install_db --user="mysql" --skip-test-db
|
||||
|
||||
# Start main service
|
||||
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/mariadb.service.d/MY_SPECIAL.conf
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@ -1,38 +0,0 @@
|
||||
From bc8fd081680454b6b29cac8feb6774fd60b37eb5 Mon Sep 17 00:00:00 2001
|
||||
From: eulerstorage <eulerstorage@huawei.com>
|
||||
Date: Tue, 3 Mar 2020 17:24:08 +0800
|
||||
Subject: [PATCH] skip some unstable test cases
|
||||
|
||||
---
|
||||
mysql-test/unstable-tests | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/mysql-test/unstable-tests b/mysql-test/unstable-tests
|
||||
index 9ea0ebc..99a328b 100644
|
||||
--- a/mysql-test/unstable-tests
|
||||
+++ b/mysql-test/unstable-tests
|
||||
@@ -41,6 +41,7 @@ binlog.binlog_flush_binlogs_delete_domain : MDEV-14431
|
||||
binlog.binlog_killed : MDEV-12925 - Wrong result
|
||||
binlog.binlog_tmp_table_row : Added in 10.1.35, 10.2.17
|
||||
binlog.binlog_xa_recover : MDEV-8517 - Extra checkpoint
|
||||
+binlog.binlog_mysqlbinlog2 : Skip on ARM
|
||||
binlog.load_data_stm_view : MDEV-16948 - Wrong result
|
||||
binlog_tmp_table_row : Added in 10.3.9
|
||||
|
||||
@@ -346,11 +347,13 @@ main.events_2 : MDEV-13277
|
||||
main.events_bugs : MDEV-12892 - Crash
|
||||
main.events_restart : MDEV-12236 - Server shutdown problem
|
||||
main.events_slowlog : MDEV-12821 - Wrong result
|
||||
+main.events_1 : Skip on ARM
|
||||
main.explain_slowquerylog : Modified in 10.2.16
|
||||
main.func_json : Modified in 10.3.9
|
||||
main.func_misc : Modified in 10.3.8
|
||||
main.func_time_hires : Modified in 10.3.8
|
||||
main.func_time : Modified in 10.3.9
|
||||
+main.func_like : Skip on ARM
|
||||
main.gis : MDEV-13411 - wrong result on P8
|
||||
main.grant2 : Modified in 10.3.8
|
||||
main.grant : Modified in 10.3.9
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@ -1,582 +0,0 @@
|
||||
diff --git a/mysql-test/suite/galera/disabled.def b/mysql-test/suite/galera/disabled.def
|
||||
index c3b5e070158..6d9e198271c 100644
|
||||
--- a/mysql-test/suite/galera/disabled.def
|
||||
+++ b/mysql-test/suite/galera/disabled.def
|
||||
@@ -37,3 +37,4 @@ galera_ist_progress: MDEV-15236 galera_ist_progress fails when trying to read tr
|
||||
galera_concurrent_ctas : MDEV-15845 Test failure on galera.galera_concurrent_ctas
|
||||
pxc-421: Lock timeout exceeded
|
||||
galera_sst_mysqldump_with_key : MDEV-16890 Galera test failure
|
||||
+pxc-421: wsrep_provider is read-only for security reasons
|
||||
diff --git a/mysql-test/suite/galera/include/galera_load_provider.inc b/mysql-test/suite/galera/include/galera_load_provider.inc
|
||||
index aeab7e6ea19..e6ce6411193 100644
|
||||
--- a/mysql-test/suite/galera/include/galera_load_provider.inc
|
||||
+++ b/mysql-test/suite/galera/include/galera_load_provider.inc
|
||||
@@ -1,7 +1,6 @@
|
||||
--echo Loading wsrep provider ...
|
||||
|
||||
--disable_query_log
|
||||
---eval SET GLOBAL wsrep_provider = '$wsrep_provider_orig';
|
||||
--eval SET GLOBAL wsrep_cluster_address = '$wsrep_cluster_address_orig';
|
||||
--enable_query_log
|
||||
|
||||
diff --git a/mysql-test/suite/galera/include/galera_unload_provider.inc b/mysql-test/suite/galera/include/galera_unload_provider.inc
|
||||
index edc7eb31e0e..83438a947f0 100644
|
||||
--- a/mysql-test/suite/galera/include/galera_unload_provider.inc
|
||||
+++ b/mysql-test/suite/galera/include/galera_unload_provider.inc
|
||||
@@ -1,7 +1,6 @@
|
||||
--echo Unloading wsrep provider ...
|
||||
|
||||
--let $wsrep_cluster_address_orig = `SELECT @@wsrep_cluster_address`
|
||||
---let $wsrep_provider_orig = `SELECT @@wsrep_provider`
|
||||
--let $wsrep_provider_options_orig = `SELECT @@wsrep_provider_options`
|
||||
|
||||
-SET GLOBAL wsrep_provider = 'none';
|
||||
+SET GLOBAL wsrep_cluster_address = '';
|
||||
diff --git a/mysql-test/suite/galera/r/galera_ist_rsync.result b/mysql-test/suite/galera/r/galera_ist_rsync.result
|
||||
index 9c0d78d96e9..16d13ef261f 100644
|
||||
--- a/mysql-test/suite/galera/r/galera_ist_rsync.result
|
||||
+++ b/mysql-test/suite/galera/r/galera_ist_rsync.result
|
||||
@@ -21,7 +21,7 @@ INSERT INTO t1 VALUES ('node2_committed_before');
|
||||
INSERT INTO t1 VALUES ('node2_committed_before');
|
||||
COMMIT;
|
||||
Unloading wsrep provider ...
|
||||
-SET GLOBAL wsrep_provider = 'none';
|
||||
+SET GLOBAL wsrep_cluster_address = '';
|
||||
connection node_1;
|
||||
SET AUTOCOMMIT=OFF;
|
||||
START TRANSACTION;
|
||||
diff --git a/mysql-test/suite/galera/r/galera_sst_mysqldump.result b/mysql-test/suite/galera/r/galera_sst_mysqldump.result
|
||||
index 5c530c32ce6..6bdc933a9fc 100644
|
||||
--- a/mysql-test/suite/galera/r/galera_sst_mysqldump.result
|
||||
+++ b/mysql-test/suite/galera/r/galera_sst_mysqldump.result
|
||||
@@ -30,7 +30,7 @@ INSERT INTO t1 VALUES ('node2_committed_before');
|
||||
INSERT INTO t1 VALUES ('node2_committed_before');
|
||||
COMMIT;
|
||||
Unloading wsrep provider ...
|
||||
-SET GLOBAL wsrep_provider = 'none';
|
||||
+SET GLOBAL wsrep_cluster_address = '';
|
||||
connection node_1;
|
||||
SET AUTOCOMMIT=OFF;
|
||||
START TRANSACTION;
|
||||
diff --git a/mysql-test/suite/galera/r/mysql-wsrep#33.result b/mysql-test/suite/galera/r/mysql-wsrep#33.result
|
||||
index 6a5251204b9..4cc49c0cf07 100644
|
||||
--- a/mysql-test/suite/galera/r/mysql-wsrep#33.result
|
||||
+++ b/mysql-test/suite/galera/r/mysql-wsrep#33.result
|
||||
@@ -30,7 +30,7 @@ INSERT INTO t1 VALUES ('node2_committed_before');
|
||||
INSERT INTO t1 VALUES ('node2_committed_before');
|
||||
COMMIT;
|
||||
Unloading wsrep provider ...
|
||||
-SET GLOBAL wsrep_provider = 'none';
|
||||
+SET GLOBAL wsrep_cluster_address = '';
|
||||
connection node_1;
|
||||
SET AUTOCOMMIT=OFF;
|
||||
START TRANSACTION;
|
||||
diff --git a/mysql-test/suite/sys_vars/r/sysvars_wsrep.result b/mysql-test/suite/sys_vars/r/sysvars_wsrep.result
|
||||
index db932ae8223..921172920f1 100644
|
||||
--- a/mysql-test/suite/sys_vars/r/sysvars_wsrep.result
|
||||
+++ b/mysql-test/suite/sys_vars/r/sysvars_wsrep.result
|
||||
@@ -335,7 +335,7 @@ NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
ENUM_VALUE_LIST NULL
|
||||
-READ_ONLY NO
|
||||
+READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME WSREP_ON
|
||||
SESSION_VALUE OFF
|
||||
@@ -391,7 +391,7 @@ NUMERIC_MIN_VALUE NULL
|
||||
NUMERIC_MAX_VALUE NULL
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
ENUM_VALUE_LIST NULL
|
||||
-READ_ONLY NO
|
||||
+READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME WSREP_PROVIDER_OPTIONS
|
||||
SESSION_VALUE NULL
|
||||
diff --git a/mysql-test/suite/sys_vars/r/wsrep_notify_cmd_basic.result b/mysql-test/suite/sys_vars/r/wsrep_notify_cmd_basic.result
|
||||
deleted file mode 100644
|
||||
index 056ff8c817b..00000000000
|
||||
--- a/mysql-test/suite/sys_vars/r/wsrep_notify_cmd_basic.result
|
||||
+++ /dev/null
|
||||
@@ -1,47 +0,0 @@
|
||||
-#
|
||||
-# wsrep_notify_cmd
|
||||
-#
|
||||
-call mtr.add_suppression("WSREP: Failed to get provider options");
|
||||
-# save the initial value
|
||||
-SET @wsrep_notify_cmd_global_saved = @@global.wsrep_notify_cmd;
|
||||
-# default
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-
|
||||
-
|
||||
-# scope
|
||||
-SELECT @@session.wsrep_notify_cmd;
|
||||
-ERROR HY000: Variable 'wsrep_notify_cmd' is a GLOBAL variable
|
||||
-SET @@global.wsrep_notify_cmd='notify_cmd';
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-notify_cmd
|
||||
-
|
||||
-# valid values
|
||||
-SET @@global.wsrep_notify_cmd='command';
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-command
|
||||
-SET @@global.wsrep_notify_cmd='hyphenated-command';
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-hyphenated-command
|
||||
-SET @@global.wsrep_notify_cmd=default;
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-
|
||||
-SET @@global.wsrep_notify_cmd=NULL;
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-NULL
|
||||
-
|
||||
-# invalid values
|
||||
-SET @@global.wsrep_notify_cmd=1;
|
||||
-ERROR 42000: Incorrect argument type to variable 'wsrep_notify_cmd'
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-@@global.wsrep_notify_cmd
|
||||
-NULL
|
||||
-
|
||||
-# restore the initial value
|
||||
-SET @@global.wsrep_notify_cmd = @wsrep_notify_cmd_global_saved;
|
||||
-# End of test
|
||||
diff --git a/mysql-test/suite/sys_vars/r/wsrep_provider_basic.result b/mysql-test/suite/sys_vars/r/wsrep_provider_basic.result
|
||||
deleted file mode 100644
|
||||
index 3e4ac8ca883..00000000000
|
||||
--- a/mysql-test/suite/sys_vars/r/wsrep_provider_basic.result
|
||||
+++ /dev/null
|
||||
@@ -1,40 +0,0 @@
|
||||
-#
|
||||
-# wsrep_provider
|
||||
-#
|
||||
-# save the initial value
|
||||
-SET @wsrep_provider_global_saved = @@global.wsrep_provider;
|
||||
-# default
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-@@global.wsrep_provider
|
||||
-none
|
||||
-
|
||||
-# scope
|
||||
-SELECT @@session.wsrep_provider;
|
||||
-ERROR HY000: Variable 'wsrep_provider' is a GLOBAL variable
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-@@global.wsrep_provider
|
||||
-none
|
||||
-
|
||||
-# valid values
|
||||
-SET @@global.wsrep_provider=default;
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-@@global.wsrep_provider
|
||||
-none
|
||||
-
|
||||
-# invalid values
|
||||
-SET @@global.wsrep_provider='/invalid/libgalera_smm.so';
|
||||
-ERROR 42000: Variable 'wsrep_provider' can't be set to the value of '/invalid/libgalera_smm.so'
|
||||
-SET @@global.wsrep_provider=NULL;
|
||||
-ERROR 42000: Variable 'wsrep_provider' can't be set to the value of 'NULL'
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-@@global.wsrep_provider
|
||||
-none
|
||||
-SET @@global.wsrep_provider=1;
|
||||
-ERROR 42000: Incorrect argument type to variable 'wsrep_provider'
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-@@global.wsrep_provider
|
||||
-none
|
||||
-
|
||||
-# restore the initial value
|
||||
-SET @@global.wsrep_provider = @wsrep_provider_global_saved;
|
||||
-# End of test
|
||||
diff --git a/mysql-test/suite/sys_vars/r/wsrep_provider_options_basic.result b/mysql-test/suite/sys_vars/r/wsrep_provider_options_basic.result
|
||||
deleted file mode 100644
|
||||
index b2e07c55b38..00000000000
|
||||
--- a/mysql-test/suite/sys_vars/r/wsrep_provider_options_basic.result
|
||||
+++ /dev/null
|
||||
@@ -1,49 +0,0 @@
|
||||
-#
|
||||
-# wsrep_provider_options
|
||||
-#
|
||||
-call mtr.add_suppression("WSREP: Failed to get provider options");
|
||||
-SET @@global.wsrep_provider = @@global.wsrep_provider;
|
||||
-# save the initial value
|
||||
-SET @wsrep_provider_options_global_saved = @@global.wsrep_provider_options;
|
||||
-# default
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-
|
||||
-
|
||||
-# scope
|
||||
-SELECT @@session.wsrep_provider_options;
|
||||
-ERROR HY000: Variable 'wsrep_provider_options' is a GLOBAL variable
|
||||
-SET @@global.wsrep_provider_options='option1';
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-option1
|
||||
-
|
||||
-# valid values
|
||||
-SET @@global.wsrep_provider_options='name1=value1;name2=value2';
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-name1=value1;name2=value2
|
||||
-SET @@global.wsrep_provider_options='hyphenated-name:value';
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-hyphenated-name:value
|
||||
-SET @@global.wsrep_provider_options=default;
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-
|
||||
-
|
||||
-# invalid values
|
||||
-SET @@global.wsrep_provider_options=1;
|
||||
-ERROR 42000: Incorrect argument type to variable 'wsrep_provider_options'
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-
|
||||
-SET @@global.wsrep_provider_options=NULL;
|
||||
-Got one of the listed errors
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-@@global.wsrep_provider_options
|
||||
-NULL
|
||||
-
|
||||
-# restore the initial value
|
||||
-SET @@global.wsrep_provider_options = @wsrep_provider_options_global_saved;
|
||||
-# End of test
|
||||
diff --git a/mysql-test/suite/sys_vars/t/wsrep_notify_cmd_basic.test b/mysql-test/suite/sys_vars/t/wsrep_notify_cmd_basic.test
|
||||
deleted file mode 100644
|
||||
index 6d1535ba148..00000000000
|
||||
--- a/mysql-test/suite/sys_vars/t/wsrep_notify_cmd_basic.test
|
||||
+++ /dev/null
|
||||
@@ -1,43 +0,0 @@
|
||||
---source include/have_wsrep.inc
|
||||
-
|
||||
---echo #
|
||||
---echo # wsrep_notify_cmd
|
||||
---echo #
|
||||
-
|
||||
-call mtr.add_suppression("WSREP: Failed to get provider options");
|
||||
-
|
||||
---echo # save the initial value
|
||||
-SET @wsrep_notify_cmd_global_saved = @@global.wsrep_notify_cmd;
|
||||
-
|
||||
---echo # default
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-
|
||||
---echo
|
||||
---echo # scope
|
||||
---error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
||||
-SELECT @@session.wsrep_notify_cmd;
|
||||
-SET @@global.wsrep_notify_cmd='notify_cmd';
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-
|
||||
---echo
|
||||
---echo # valid values
|
||||
-SET @@global.wsrep_notify_cmd='command';
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-SET @@global.wsrep_notify_cmd='hyphenated-command';
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-SET @@global.wsrep_notify_cmd=default;
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-SET @@global.wsrep_notify_cmd=NULL;
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-
|
||||
---echo
|
||||
---echo # invalid values
|
||||
---error ER_WRONG_TYPE_FOR_VAR
|
||||
-SET @@global.wsrep_notify_cmd=1;
|
||||
-SELECT @@global.wsrep_notify_cmd;
|
||||
-
|
||||
---echo
|
||||
---echo # restore the initial value
|
||||
-SET @@global.wsrep_notify_cmd = @wsrep_notify_cmd_global_saved;
|
||||
-
|
||||
---echo # End of test
|
||||
diff --git a/mysql-test/suite/sys_vars/t/wsrep_provider_basic.test b/mysql-test/suite/sys_vars/t/wsrep_provider_basic.test
|
||||
deleted file mode 100644
|
||||
index 1190ab41bb0..00000000000
|
||||
--- a/mysql-test/suite/sys_vars/t/wsrep_provider_basic.test
|
||||
+++ /dev/null
|
||||
@@ -1,39 +0,0 @@
|
||||
---source include/have_wsrep.inc
|
||||
-
|
||||
---echo #
|
||||
---echo # wsrep_provider
|
||||
---echo #
|
||||
-
|
||||
---echo # save the initial value
|
||||
-SET @wsrep_provider_global_saved = @@global.wsrep_provider;
|
||||
-
|
||||
---echo # default
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-
|
||||
---echo
|
||||
---echo # scope
|
||||
---error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
||||
-SELECT @@session.wsrep_provider;
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-
|
||||
---echo
|
||||
---echo # valid values
|
||||
-SET @@global.wsrep_provider=default;
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-
|
||||
---echo
|
||||
---echo # invalid values
|
||||
---error ER_WRONG_VALUE_FOR_VAR
|
||||
-SET @@global.wsrep_provider='/invalid/libgalera_smm.so';
|
||||
---error ER_WRONG_VALUE_FOR_VAR
|
||||
-SET @@global.wsrep_provider=NULL;
|
||||
-SELECT @@global.wsrep_provider;
|
||||
---error ER_WRONG_TYPE_FOR_VAR
|
||||
-SET @@global.wsrep_provider=1;
|
||||
-SELECT @@global.wsrep_provider;
|
||||
-
|
||||
---echo
|
||||
---echo # restore the initial value
|
||||
-SET @@global.wsrep_provider = @wsrep_provider_global_saved;
|
||||
-
|
||||
---echo # End of test
|
||||
diff --git a/mysql-test/suite/sys_vars/t/wsrep_provider_options_basic.test b/mysql-test/suite/sys_vars/t/wsrep_provider_options_basic.test
|
||||
deleted file mode 100644
|
||||
index d2ea32a0637..00000000000
|
||||
--- a/mysql-test/suite/sys_vars/t/wsrep_provider_options_basic.test
|
||||
+++ /dev/null
|
||||
@@ -1,51 +0,0 @@
|
||||
---source include/have_wsrep.inc
|
||||
-
|
||||
---echo #
|
||||
---echo # wsrep_provider_options
|
||||
---echo #
|
||||
-
|
||||
-call mtr.add_suppression("WSREP: Failed to get provider options");
|
||||
-
|
||||
-SET @@global.wsrep_provider = @@global.wsrep_provider;
|
||||
-
|
||||
---echo # save the initial value
|
||||
-SET @wsrep_provider_options_global_saved = @@global.wsrep_provider_options;
|
||||
-
|
||||
---echo # default
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-
|
||||
---echo
|
||||
---echo # scope
|
||||
---error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
||||
-SELECT @@session.wsrep_provider_options;
|
||||
---error 0,ER_WRONG_ARGUMENTS
|
||||
-SET @@global.wsrep_provider_options='option1';
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-
|
||||
---echo
|
||||
---echo # valid values
|
||||
---error 0,ER_WRONG_ARGUMENTS
|
||||
-SET @@global.wsrep_provider_options='name1=value1;name2=value2';
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
---error 0,ER_WRONG_ARGUMENTS
|
||||
-SET @@global.wsrep_provider_options='hyphenated-name:value';
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
---error 0,ER_WRONG_ARGUMENTS
|
||||
-SET @@global.wsrep_provider_options=default;
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-
|
||||
---echo
|
||||
---echo # invalid values
|
||||
---error ER_WRONG_TYPE_FOR_VAR
|
||||
-SET @@global.wsrep_provider_options=1;
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
---error ER_WRONG_ARGUMENTS,ER_WRONG_ARGUMENTS
|
||||
-SET @@global.wsrep_provider_options=NULL;
|
||||
-SELECT @@global.wsrep_provider_options;
|
||||
-
|
||||
---echo
|
||||
---echo # restore the initial value
|
||||
---error 0,ER_WRONG_ARGUMENTS
|
||||
-SET @@global.wsrep_provider_options = @wsrep_provider_options_global_saved;
|
||||
-
|
||||
---echo # End of test
|
||||
diff --git a/mysql-test/suite/wsrep/disabled.def b/mysql-test/suite/wsrep/disabled.def
|
||||
index c7c8f2c6216..b5304b1c992 100644
|
||||
--- a/mysql-test/suite/wsrep/disabled.def
|
||||
+++ b/mysql-test/suite/wsrep/disabled.def
|
||||
@@ -1,2 +1,4 @@
|
||||
wsrep.foreign_key : Sporadic failure "WSREP has not yet prepared node for application use"
|
||||
|
||||
+
|
||||
+mdev_6832: wsrep_provider is read-only for security reasons
|
||||
diff --git a/mysql-test/suite/wsrep/r/variables.result b/mysql-test/suite/wsrep/r/variables.result
|
||||
index b6f22828532..c944af8c90d 100644
|
||||
--- a/mysql-test/suite/wsrep/r/variables.result
|
||||
+++ b/mysql-test/suite/wsrep/r/variables.result
|
||||
@@ -13,7 +13,6 @@ SET SESSION wsrep_replicate_myisam= ON;
|
||||
ERROR HY000: Variable 'wsrep_replicate_myisam' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
SET GLOBAL wsrep_replicate_myisam= ON;
|
||||
SET GLOBAL wsrep_replicate_myisam= OFF;
|
||||
-SET GLOBAL wsrep_provider=none;
|
||||
#
|
||||
# MDEV#5790: SHOW GLOBAL STATUS LIKE does not show the correct list of
|
||||
# variables when using "_"
|
||||
@@ -134,10 +133,6 @@ wsrep_local_state_comment #
|
||||
# Should show nothing.
|
||||
SHOW STATUS LIKE 'x';
|
||||
Variable_name Value
|
||||
-SET GLOBAL wsrep_provider=none;
|
||||
-#
|
||||
-# MDEV#6079: xtrabackup SST failing with maria-10.0-galera
|
||||
-#
|
||||
|
||||
SHOW STATUS LIKE 'wsrep_local_state_uuid';
|
||||
Variable_name Value
|
||||
@@ -146,7 +141,6 @@ wsrep_local_state_uuid #
|
||||
SHOW STATUS LIKE 'wsrep_last_committed';
|
||||
Variable_name Value
|
||||
wsrep_last_committed #
|
||||
-SET GLOBAL wsrep_provider=none;
|
||||
|
||||
#
|
||||
# MDEV#6206: wsrep_slave_threads subtracts from max_connections
|
||||
@@ -160,30 +154,29 @@ SELECT @@global.wsrep_slave_threads;
|
||||
1
|
||||
SELECT @@global.wsrep_cluster_address;
|
||||
@@global.wsrep_cluster_address
|
||||
-
|
||||
+gcomm://
|
||||
SHOW STATUS LIKE 'threads_connected';
|
||||
Variable_name Value
|
||||
Threads_connected 1
|
||||
SHOW STATUS LIKE 'wsrep_thread_count';
|
||||
Variable_name Value
|
||||
-wsrep_thread_count 0
|
||||
+wsrep_thread_count 2
|
||||
|
||||
SELECT @@global.wsrep_provider;
|
||||
@@global.wsrep_provider
|
||||
libgalera_smm.so
|
||||
SELECT @@global.wsrep_cluster_address;
|
||||
@@global.wsrep_cluster_address
|
||||
-
|
||||
+gcomm://
|
||||
SHOW STATUS LIKE 'threads_connected';
|
||||
Variable_name Value
|
||||
Threads_connected 1
|
||||
SHOW STATUS LIKE 'wsrep_thread_count';
|
||||
Variable_name Value
|
||||
-wsrep_thread_count 0
|
||||
+wsrep_thread_count 2
|
||||
|
||||
# Setting wsrep_cluster_address triggers the creation of
|
||||
# applier/rollbacker threads.
|
||||
-SET GLOBAL wsrep_cluster_address= 'gcomm://';
|
||||
# Wait for applier threads to get created.
|
||||
SELECT @@global.wsrep_provider;
|
||||
@@global.wsrep_provider
|
||||
diff --git a/mysql-test/suite/wsrep/t/variables.test b/mysql-test/suite/wsrep/t/variables.test
|
||||
index 1315f090d5c..867af600817 100644
|
||||
--- a/mysql-test/suite/wsrep/t/variables.test
|
||||
+++ b/mysql-test/suite/wsrep/t/variables.test
|
||||
@@ -18,7 +18,7 @@ SET GLOBAL wsrep_replicate_myisam= ON;
|
||||
|
||||
# Reset it back.
|
||||
SET GLOBAL wsrep_replicate_myisam= OFF;
|
||||
-SET GLOBAL wsrep_provider=none;
|
||||
+#SET GLOBAL wsrep_provider=none;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV#5790: SHOW GLOBAL STATUS LIKE does not show the correct list of
|
||||
@@ -27,11 +27,9 @@ SET GLOBAL wsrep_provider=none;
|
||||
|
||||
CALL mtr.add_suppression("WSREP: Could not open saved state file for reading.*");
|
||||
|
||||
---disable_query_log
|
||||
-eval SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
---let $galera_version=25.3.17
|
||||
+#evalp SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
+--let $galera_version=25.3.24
|
||||
source include/check_galera_version.inc;
|
||||
---enable_query_log
|
||||
|
||||
--replace_column 2 #
|
||||
SHOW GLOBAL STATUS LIKE 'wsrep%';
|
||||
@@ -47,15 +45,13 @@ SHOW GLOBAL STATUS LIKE 'wsrep_local_state_comment';
|
||||
SHOW STATUS LIKE 'x';
|
||||
|
||||
# Reset it back.
|
||||
-SET GLOBAL wsrep_provider=none;
|
||||
+#SET GLOBAL wsrep_provider=none;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV#6079: xtrabackup SST failing with maria-10.0-galera
|
||||
--echo #
|
||||
|
||||
---disable_query_log
|
||||
-eval SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
---enable_query_log
|
||||
+#evalp SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
|
||||
# The following 2 variables are used in innobackupex during xtrabackup-based
|
||||
# SST.
|
||||
@@ -67,7 +63,7 @@ SHOW STATUS LIKE 'wsrep_local_state_uuid';
|
||||
SHOW STATUS LIKE 'wsrep_last_committed';
|
||||
|
||||
# Reset it back.
|
||||
-SET GLOBAL wsrep_provider=none;
|
||||
+#SET GLOBAL wsrep_provider=none;
|
||||
|
||||
--echo
|
||||
--echo #
|
||||
@@ -75,9 +71,7 @@ SET GLOBAL wsrep_provider=none;
|
||||
--echo #
|
||||
call mtr.add_suppression("WSREP: Failed to get provider options");
|
||||
|
||||
---disable_query_log
|
||||
-eval SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
---enable_query_log
|
||||
+#evalp SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
|
||||
--replace_regex /.*libgalera_smm.*/libgalera_smm.so/
|
||||
SELECT @@global.wsrep_provider;
|
||||
@@ -87,9 +81,7 @@ SHOW STATUS LIKE 'threads_connected';
|
||||
SHOW STATUS LIKE 'wsrep_thread_count';
|
||||
--echo
|
||||
|
||||
---disable_query_log
|
||||
-eval SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
---enable_query_log
|
||||
+#evalp SET GLOBAL wsrep_provider= '$WSREP_PROVIDER';
|
||||
|
||||
--replace_regex /.*libgalera_smm.*/libgalera_smm.so/
|
||||
SELECT @@global.wsrep_provider;
|
||||
@@ -100,7 +92,7 @@ SHOW STATUS LIKE 'wsrep_thread_count';
|
||||
|
||||
--echo # Setting wsrep_cluster_address triggers the creation of
|
||||
--echo # applier/rollbacker threads.
|
||||
-SET GLOBAL wsrep_cluster_address= 'gcomm://';
|
||||
+#SET GLOBAL wsrep_cluster_address= 'gcomm://';
|
||||
--echo # Wait for applier threads to get created.
|
||||
sleep 3;
|
||||
|
||||
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
|
||||
index 8858259c863..90ca973052b 100644
|
||||
--- a/sql/sys_vars.cc
|
||||
+++ b/sql/sys_vars.cc
|
||||
@@ -5236,7 +5236,7 @@ static Sys_var_tz Sys_time_zone(
|
||||
|
||||
static Sys_var_charptr Sys_wsrep_provider(
|
||||
"wsrep_provider", "Path to replication provider library",
|
||||
- PREALLOCATED GLOBAL_VAR(wsrep_provider), CMD_LINE(REQUIRED_ARG),
|
||||
+ PREALLOCATED READ_ONLY GLOBAL_VAR(wsrep_provider), CMD_LINE(REQUIRED_ARG),
|
||||
IN_FS_CHARSET, DEFAULT(WSREP_NONE),
|
||||
NO_MUTEX_GUARD, NOT_IN_BINLOG,
|
||||
ON_CHECK(wsrep_provider_check), ON_UPDATE(wsrep_provider_update));
|
||||
@@ -5406,7 +5406,7 @@ static Sys_var_ulong Sys_wsrep_max_ws_rows (
|
||||
|
||||
static Sys_var_charptr Sys_wsrep_notify_cmd(
|
||||
"wsrep_notify_cmd", "",
|
||||
- GLOBAL_VAR(wsrep_notify_cmd),CMD_LINE(REQUIRED_ARG),
|
||||
+ READ_ONLY GLOBAL_VAR(wsrep_notify_cmd), CMD_LINE(REQUIRED_ARG),
|
||||
IN_SYSTEM_CHARSET, DEFAULT(""));
|
||||
|
||||
static Sys_var_mybool Sys_wsrep_certify_nonPK(
|
||||
27
LICENSE.clustercheck
Normal file
27
LICENSE.clustercheck
Normal file
@ -0,0 +1,27 @@
|
||||
Copyright (c) 2012-2014, Olaf van Zandwijk
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software without
|
||||
specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
9
README.mariadb-docs
Normal file
9
README.mariadb-docs
Normal file
@ -0,0 +1,9 @@
|
||||
MariaDB haven't yet made a document package available for offline.
|
||||
|
||||
You can create your own copy with the instructions here:
|
||||
|
||||
https://mariadb.com/kb/en/meta/mirroring-the-mariadb-knowledge-base/
|
||||
|
||||
You can find view the on-line documentation at:
|
||||
|
||||
https://mariadb.com/kb/en/documentation/
|
||||
89
clustercheck.sh
Normal file
89
clustercheck.sh
Normal file
@ -0,0 +1,89 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Script to make a proxy (ie HAProxy) capable of monitoring Galera cluster nodes properly
|
||||
#
|
||||
# Author: Olaf van Zandwijk <olaf.vanzandwijk@nedap.com>
|
||||
# Author: Raghavendra Prabhu <raghavendra.prabhu@percona.com>
|
||||
# Author: Ryan O'Hara <rohara@redhat.com>
|
||||
#
|
||||
# Documentation and download: https://github.com/olafz/percona-clustercheck
|
||||
#
|
||||
# Based on the original script from Unai Rodriguez
|
||||
#
|
||||
|
||||
if [ -f @INSTALL_SYSCONFDIR@/sysconfig/clustercheck ]; then
|
||||
. @INSTALL_SYSCONFDIR@/sysconfig/clustercheck
|
||||
fi
|
||||
|
||||
MYSQL_USERNAME="${MYSQL_USERNAME-clustercheckuser}"
|
||||
MYSQL_PASSWORD="${MYSQL_PASSWORD-clustercheckpassword!}"
|
||||
MYSQL_HOST="${MYSQL_HOST:-127.0.0.1}"
|
||||
MYSQL_PORT="${MYSQL_PORT:-3306}"
|
||||
ERR_FILE="${ERR_FILE:-/dev/null}"
|
||||
AVAILABLE_WHEN_DONOR=${AVAILABLE_WHEN_DONOR:-0}
|
||||
AVAILABLE_WHEN_READONLY=${AVAILABLE_WHEN_READONLY:-1}
|
||||
DEFAULTS_EXTRA_FILE=${DEFAULTS_EXTRA_FILE:-@INSTALL_SYSCONFDIR@/my.cnf}
|
||||
|
||||
#Timeout exists for instances where mysqld may be hung
|
||||
TIMEOUT=10
|
||||
|
||||
if [[ -r $DEFAULTS_EXTRA_FILE ]];then
|
||||
MYSQL_CMDLINE="mysql --defaults-extra-file=$DEFAULTS_EXTRA_FILE -nNE \
|
||||
--connect-timeout=$TIMEOUT \
|
||||
--user=${MYSQL_USERNAME} --password=${MYSQL_PASSWORD} \
|
||||
--host=${MYSQL_HOST} --port=${MYSQL_PORT}"
|
||||
else
|
||||
MYSQL_CMDLINE="mysql -nNE --connect-timeout=$TIMEOUT \
|
||||
--user=${MYSQL_USERNAME} --password=${MYSQL_PASSWORD} \
|
||||
--host=${MYSQL_HOST} --port=${MYSQL_PORT}"
|
||||
fi
|
||||
#
|
||||
# Perform the query to check the wsrep_local_state
|
||||
#
|
||||
WSREP_STATUS=$($MYSQL_CMDLINE -e "SHOW STATUS LIKE 'wsrep_local_state';" \
|
||||
2>${ERR_FILE} | tail -1 2>>${ERR_FILE})
|
||||
|
||||
if [[ "${WSREP_STATUS}" == "4" ]] || [[ "${WSREP_STATUS}" == "2" && ${AVAILABLE_WHEN_DONOR} == 1 ]]
|
||||
then
|
||||
# Check only when set to 0 to avoid latency in response.
|
||||
if [[ $AVAILABLE_WHEN_READONLY -eq 0 ]];then
|
||||
READ_ONLY=$($MYSQL_CMDLINE -e "SHOW GLOBAL VARIABLES LIKE 'read_only';" \
|
||||
2>${ERR_FILE} | tail -1 2>>${ERR_FILE})
|
||||
|
||||
if [[ "${READ_ONLY}" == "ON" ]];then
|
||||
# Galera cluster node local state is 'Synced', but it is in
|
||||
# read-only mode. The variable AVAILABLE_WHEN_READONLY is set to 0.
|
||||
# => return HTTP 503
|
||||
# Shell return-code is 1
|
||||
echo -en "HTTP/1.1 503 Service Unavailable\r\n"
|
||||
echo -en "Content-Type: text/plain\r\n"
|
||||
echo -en "Connection: close\r\n"
|
||||
echo -en "Content-Length: 35\r\n"
|
||||
echo -en "\r\n"
|
||||
echo -en "Galera cluster node is read-only.\r\n"
|
||||
sleep 0.1
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# Galera cluster node local state is 'Synced' => return HTTP 200
|
||||
# Shell return-code is 0
|
||||
echo -en "HTTP/1.1 200 OK\r\n"
|
||||
echo -en "Content-Type: text/plain\r\n"
|
||||
echo -en "Connection: close\r\n"
|
||||
echo -en "Content-Length: 32\r\n"
|
||||
echo -en "\r\n"
|
||||
echo -en "Galera cluster node is synced.\r\n"
|
||||
sleep 0.1
|
||||
exit 0
|
||||
else
|
||||
# Galera cluster node local state is not 'Synced' => return HTTP 503
|
||||
# Shell return-code is 1
|
||||
echo -en "HTTP/1.1 503 Service Unavailable\r\n"
|
||||
echo -en "Content-Type: text/plain\r\n"
|
||||
echo -en "Connection: close\r\n"
|
||||
echo -en "Content-Length: 36\r\n"
|
||||
echo -en "\r\n"
|
||||
echo -en "Galera cluster node is not synced.\r\n"
|
||||
sleep 0.1
|
||||
exit 1
|
||||
fi
|
||||
Binary file not shown.
39
mariadb-check-socket.sh
Normal file
39
mariadb-check-socket.sh
Normal file
@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
|
||||
# We check if there is already a process using the socket file,
|
||||
# since otherwise the systemd service file could report false
|
||||
# positive result when starting and mysqld_safe could remove
|
||||
# a socket file, which is actually being used by a different daemon.
|
||||
|
||||
source "`dirname ${BASH_SOURCE[0]}`/mariadb-scripts-common"
|
||||
|
||||
if test -e "$socketfile" ; then
|
||||
echo "Socket file $socketfile exists." >&2
|
||||
|
||||
# no write permissions
|
||||
if ! test -w "$socketfile" ; then
|
||||
echo "Not enough permission to write to the socket file $socketfile, which is suspicious." >&2
|
||||
echo "Please, remove $socketfile manually to start the service." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# not a socket file
|
||||
if ! test -S "$socketfile" ; then
|
||||
echo "The file $socketfile is not a socket file, which is suspicious." >&2
|
||||
echo "Please, remove $socketfile manually to start the service." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# some process uses the socket file
|
||||
response=`@bindir@/mariadb-admin --no-defaults --socket="$socketfile" --user=UNKNOWN_MYSQL_USER --connect-timeout="${CHECKSOCKETTIMEOUT:-10}" ping 2>&1`
|
||||
if [ $? -eq 0 ] || echo "$response" | grep -q "Access denied for user" ; then
|
||||
echo "Is another MariaDB daemon already running with the same unix socket?" >&2
|
||||
echo "Please, stop the process using the socket $socketfile or remove the file manually to start the service." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# socket file is a garbage
|
||||
echo "No process is using $socketfile, which means it is a garbage, so it will be removed automatically." >&2
|
||||
fi
|
||||
|
||||
exit 0
|
||||
39
mariadb-check-upgrade.sh
Normal file
39
mariadb-check-upgrade.sh
Normal file
@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
|
||||
source "`dirname ${BASH_SOURCE[0]}`/mariadb-scripts-common"
|
||||
|
||||
upgrade_info_file="$datadir/mysql_upgrade_info"
|
||||
version=0
|
||||
# get version as integer from mysql_upgrade_info file
|
||||
if [ -f "$upgrade_info_file" ] && [ -r "$upgrade_info_file" ] ; then
|
||||
version_major=$(cat "$upgrade_info_file" | head -n 1 | sed -e 's/\([0-9]*\)\.\([0-9]*\)\..*$/\1/')
|
||||
version_minor=$(cat "$upgrade_info_file" | head -n 1 | sed -e 's/\([0-9]*\)\.\([0-9]*\)\..*$/\2/')
|
||||
if [[ $version_major =~ ^[0-9]+$ ]] && [[ $version_minor =~ ^[0-9]+$ ]] ; then
|
||||
version=$((version_major*100+version_minor))
|
||||
fi
|
||||
fi
|
||||
|
||||
# compute current version as integer
|
||||
thisversion=$((@MAJOR_VERSION@*100+@MINOR_VERSION@))
|
||||
|
||||
# provide warning in cases we should run mysql_upgrade
|
||||
if [ $version -ne $thisversion ] ; then
|
||||
|
||||
# give extra warning if some version seems to be skipped
|
||||
if [ $version -gt 0 ] && [ $version -lt 505 ] ; then
|
||||
echo "The datadir located at $datadir seems to be older than of a version 5.5. Please, mind that as a general rule, to upgrade from one release series to another, go to the next series rather than skipping a series." >&2
|
||||
fi
|
||||
|
||||
cat <<EOF >&2
|
||||
The datadir located at $datadir needs to be upgraded using 'mariadb-upgrade' tool. This can be done using the following steps:
|
||||
|
||||
1. Back-up your data before with 'mariadb-upgrade'
|
||||
2. Start the database daemon using 'systemctl start @DAEMON_NAME@.service'
|
||||
3. Run 'mariadb-upgrade' with a database user that has sufficient privileges
|
||||
|
||||
Read more about 'mariadb-upgrade' usage at:
|
||||
https://mariadb.com/kb/en/mysql_upgrade/
|
||||
EOF
|
||||
fi
|
||||
|
||||
exit 0
|
||||
30
mariadb-groonga.patch
Normal file
30
mariadb-groonga.patch
Normal file
@ -0,0 +1,30 @@
|
||||
# Fixing conflict with groonga package
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1763287
|
||||
|
||||
--- mariadb-10.3.18/storage/mroonga/vendor/groonga/CMakeLists.txt.withoutoption 2019-11-11 14:01:07.762595716 +0100
|
||||
+++ mariadb-10.3.18/storage/mroonga/vendor/groonga/CMakeLists.txt 2019-11-11 14:33:05.224012458 +0100
|
||||
@@ -86,7 +86,9 @@
|
||||
set(INCLUDE_DIR "include")
|
||||
set(GRN_INCLUDE_DIR "include/groonga")
|
||||
set(DATA_DIR "share")
|
||||
-set(GRN_DATA_DIR "${DATA_DIR}/${GRN_PROJECT_NAME}")
|
||||
+if(NOT DEFINED GRN_DATA_DIR)
|
||||
+ set(GRN_DATA_DIR "${DATA_DIR}/${GRN_PROJECT_NAME}")
|
||||
+endif()
|
||||
set(CONFIG_DIR "etc")
|
||||
set(GRN_CONFIG_DIR "${CONFIG_DIR}/${GRN_PROJECT_NAME}")
|
||||
set(GRN_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/${GRN_CONFIG_DIR}/groonga.conf")
|
||||
|
||||
--- mariadb-10.3.18/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt.withoutoption 2019-11-11 14:34:22.661005715 +0100
|
||||
+++ mariadb-10.3.18/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt 2019-11-11 14:35:59.962244120 +0100
|
||||
@@ -16,7 +16,9 @@
|
||||
# MA 02110-1335 USA
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
-set(GROONGA_NORMALIZER_MYSQL_PROJECT_NAME "groonga-normalizer-mysql")
|
||||
+if (NOT DEFINED GROONGA_NORMALIZER_MYSQL_PROJECT_NAME)
|
||||
+ set(GROONGA_NORMALIZER_MYSQL_PROJECT_NAME "groonga-normalizer-mysql")
|
||||
+endif()
|
||||
project("${GROONGA_NORMALIZER_MYSQL_PROJECT_NAME}")
|
||||
|
||||
if(DEFINED GROONGA_NORMALIZER_MYSQL_EMBED)
|
||||
81
mariadb-logrotate.patch
Normal file
81
mariadb-logrotate.patch
Normal file
@ -0,0 +1,81 @@
|
||||
Adjust the mysql-log-rotate script in several ways:
|
||||
|
||||
* Use the correct log file pathname for Red Hat installations.
|
||||
* Enable creation of the log file by logrotate (needed since
|
||||
/var/log/ isn't writable by mysql user); and set the same 640
|
||||
permissions we normally use.
|
||||
* Comment out the actual rotation commands, so that user must edit
|
||||
the file to enable rotation. This is unfortunate, but the fact
|
||||
that the script will probably fail without manual configuration
|
||||
(to set a root password) means that we can't really have it turned
|
||||
on by default. Fortunately, in most configurations the log file
|
||||
is low-volume and so rotation is not critical functionality.
|
||||
|
||||
See discussions at RH bugs 799735, 547007
|
||||
* Note they are from Fedora 15 / 16
|
||||
|
||||
Update 3/2017
|
||||
* it would be big unexpected change for anyone upgrading, if we start shipping it now.
|
||||
Maybe it is good candidate for shipping with MariaDB 10.2 ?
|
||||
* the 'mysqladmin flush logs' doesn´t guarantee, no entries are lost
|
||||
during flushing, the operation is not atomic.
|
||||
We should not ship it in that state
|
||||
|
||||
Update 6/2018
|
||||
* the SIGHUP causes server to flush all logs. No password admin needed, the only constraint is
|
||||
beeing able to send the SIGHUP to the process and read the mysqld pid file, which root can.
|
||||
* Submited as PR: https://github.com/MariaDB/server/pull/807
|
||||
|
||||
Update 02/2021
|
||||
* Enhance the script as proposed in:
|
||||
https://mariadb.com/kb/en/rotating-logs-on-unix-and-linux/
|
||||
* Discussion continues in:
|
||||
https://jira.mariadb.org/browse/MDEV-16621
|
||||
|
||||
--- mariadb-10.5.8/support-files/mysql-log-rotate.sh 2021-02-12 08:37:47.857289694 +0100
|
||||
+++ mariadb-10.5.8/support-files/mysql-log-rotate.sh_pacthed 2021-02-12 08:40:26.420372325 +0100
|
||||
@@ -3,35 +3,22 @@
|
||||
# in the [mysqld] section as follows:
|
||||
#
|
||||
# [mysqld]
|
||||
-# log-error=@localstatedir@/mysqld.log
|
||||
-#
|
||||
-# If the root user has a password you have to create a
|
||||
-# /root/.my.cnf configuration file with the following
|
||||
-# content:
|
||||
-#
|
||||
-# [mysqladmin]
|
||||
-# password = <secret>
|
||||
-# user= root
|
||||
-#
|
||||
-# where "<secret>" is the password.
|
||||
-#
|
||||
-# ATTENTION: This /root/.my.cnf should be readable ONLY
|
||||
-# for root !
|
||||
+# log-error=@LOG_LOCATION@
|
||||
|
||||
-@localstatedir@/mysqld.log {
|
||||
- # create 600 mysql mysql
|
||||
+@LOG_LOCATION@ {
|
||||
+ create 600 mysql mysql
|
||||
notifempty
|
||||
daily
|
||||
rotate 3
|
||||
missingok
|
||||
compress
|
||||
+ delaycompress
|
||||
+ sharedscripts
|
||||
postrotate
|
||||
# just if mariadbd is really running
|
||||
- if test -x @bindir@/mysqladmin && \
|
||||
- @bindir@/mysqladmin ping &>/dev/null
|
||||
- then
|
||||
- @bindir@/mysqladmin --local flush-error-log \
|
||||
- flush-engine-log flush-general-log flush-slow-log
|
||||
- fi
|
||||
+ if [ -e @PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid ]
|
||||
+ then
|
||||
+ kill -1 $(<@PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid)
|
||||
+ fi
|
||||
endscript
|
||||
}
|
||||
31
mariadb-ownsetup.patch
Normal file
31
mariadb-ownsetup.patch
Normal file
@ -0,0 +1,31 @@
|
||||
--- mariadb-10.4.14/support-files/CMakeLists.txt 2020-08-06 17:28:28.000000000 +0200
|
||||
+++ mariadb-10.4.14/support-files/CMakeLists.txt_patched 2020-09-03 13:21:07.826658279 +0200
|
||||
@@ -187,6 +187,7 @@ IF(UNIX)
|
||||
COMPONENT SharedLibraries)
|
||||
INSTALL(FILES rpm/mysql-clients.cnf DESTINATION ${INSTALL_SYSCONF2DIR}
|
||||
COMPONENT Client)
|
||||
+ CONFIGURE_FILE(rpm/server.cnf ${CMAKE_CURRENT_SOURCE_DIR}/rpm/server.cnf @ONLY)
|
||||
INSTALL(FILES rpm/server.cnf DESTINATION ${INSTALL_SYSCONF2DIR}
|
||||
COMPONENT IniFiles)
|
||||
INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR}
|
||||
|
||||
diff -up mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup mariadb-10.0.15/support-files/rpm/server.cnf
|
||||
--- mariadb-10.0.15/support-files/rpm/server.cnf.ownsetup 2015-01-24 23:55:55.110063592 +0100
|
||||
+++ mariadb-10.0.15/support-files/rpm/server.cnf 2015-01-24 23:57:42.308114387 +0100
|
||||
@@ -9,7 +9,16 @@
|
||||
[server]
|
||||
|
||||
# this is only for the mysqld standalone daemon
|
||||
+# Settings user and group are ignored when systemd is used.
|
||||
+# If you need to run mysqld under a different user or group,
|
||||
+# customize your systemd unit file for mysqld/mariadb according to the
|
||||
+# instructions in http://fedoraproject.org/wiki/Systemd
|
||||
[mysqld]
|
||||
+datadir=@MYSQL_DATADIR@
|
||||
+socket=@MYSQL_UNIX_ADDR@
|
||||
+log-error=@LOG_LOCATION@
|
||||
+pid-file=@PID_FILE_DIR@/@DAEMON_NO_PREFIX@.pid
|
||||
+
|
||||
|
||||
#
|
||||
# * Galera-related settings
|
||||
19
mariadb-pcdir.patch
Normal file
19
mariadb-pcdir.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Use PCDIR CMake option, if configured
|
||||
|
||||
Upstream install the server pkgconfig file into arch-independent directory
|
||||
Reported to upstream as: https://jira.mariadb.org/browse/MDEV-14340
|
||||
|
||||
--- mariadb-10.5.5/support-files/CMakeLists.txt.old 2020-09-30 10:36:08.582490318 +0200
|
||||
+++ mariadb-10.5.5/support-files/CMakeLists.txt 2020-09-30 10:38:58.079710848 +0200
|
||||
@@ -91,7 +91,11 @@
|
||||
ENDIF()
|
||||
|
||||
CONFIGURE_FILE(mariadb.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc @ONLY)
|
||||
+IF(INSTALL_PCDIR)
|
||||
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_PCDIR} COMPONENT Development)
|
||||
+ELSE()
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
|
||||
+ENDIF()
|
||||
|
||||
INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
|
||||
|
||||
137
mariadb-prepare-db-dir.sh
Normal file
137
mariadb-prepare-db-dir.sh
Normal file
@ -0,0 +1,137 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This script creates the MariaDB data directory during first service start.
|
||||
# In subsequent starts, it does nothing much.
|
||||
|
||||
source "`dirname ${BASH_SOURCE[0]}`/mariadb-scripts-common"
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
# Returns content of the specified directory
|
||||
# If listing files fails, fake-file is returned so which means
|
||||
# we'll behave like there was some data initialized
|
||||
# Some files or directories are fine to be there, so those are
|
||||
# explicitly removed from the listing
|
||||
# @param <dir> datadir
|
||||
list_datadir ()
|
||||
{
|
||||
( ls -1A "$1" 2>/dev/null || echo "fake-file" ) | grep -v \
|
||||
-e '^lost+found$' \
|
||||
-e '\.err$' \
|
||||
-e '^.bash_history$'
|
||||
}
|
||||
|
||||
# Checks whether datadir should be initialized
|
||||
# @param <dir> datadir
|
||||
should_initialize ()
|
||||
{
|
||||
test -z "$(list_datadir "$1")"
|
||||
}
|
||||
|
||||
# If two args given first is user, second is group
|
||||
# otherwise the arg is the systemd service file
|
||||
if [ "$#" -eq 2 ]
|
||||
then
|
||||
myuser="$1"
|
||||
mygroup="$2"
|
||||
else
|
||||
# Absorb configuration settings from the specified systemd service file,
|
||||
# or the default service if not specified
|
||||
SERVICE_NAME="$1"
|
||||
if [ x"$SERVICE_NAME" = x ]
|
||||
then
|
||||
SERVICE_NAME=@DAEMON_NAME@.service
|
||||
fi
|
||||
|
||||
myuser=`systemctl show -p User "${SERVICE_NAME}" |
|
||||
sed 's/^User=//'`
|
||||
if [ x"$myuser" = x ]
|
||||
then
|
||||
myuser=mysql
|
||||
fi
|
||||
|
||||
mygroup=`systemctl show -p Group "${SERVICE_NAME}" |
|
||||
sed 's/^Group=//'`
|
||||
if [ x"$mygroup" = x ]
|
||||
then
|
||||
mygroup=mysql
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set up the errlogfile with appropriate permissions
|
||||
if [ ! -e "$errlogfile" -a ! -h "$errlogfile" -a x$(dirname "$errlogfile") = "x/var/log" ]; then
|
||||
case $(basename "$errlogfile") in
|
||||
mysql*.log|mariadb*.log) install /dev/null -m0640 -o$myuser -g$mygroup "$errlogfile" ;;
|
||||
*) ;;
|
||||
esac
|
||||
else
|
||||
# Provide some advice if the log file cannot be created by this script
|
||||
errlogdir=$(dirname "$errlogfile")
|
||||
if ! [ -d "$errlogdir" ] ; then
|
||||
echo "The directory $errlogdir does not exist." >&2
|
||||
exit 1
|
||||
elif [ -e "$errlogfile" -a ! -w "$errlogfile" ] ; then
|
||||
echo "The log file $errlogfile cannot be written, please, fix its permissions." >&2
|
||||
echo "The daemon will be run under $myuser:$mygroup" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Make the data directory if doesn't exist or empty
|
||||
if should_initialize "$datadir" ; then
|
||||
# First, make sure $datadir is there with correct permissions
|
||||
# (note: if it's not, and we're not root, this'll fail ...)
|
||||
if [ ! -e "$datadir" -a ! -h "$datadir" ]
|
||||
then
|
||||
mkdir -p "$datadir" || exit 1
|
||||
fi
|
||||
chown "$myuser:$mygroup" "$datadir"
|
||||
chmod 0755 "$datadir"
|
||||
[ -x /sbin/restorecon ] && /sbin/restorecon "$datadir"
|
||||
|
||||
# Now create the database
|
||||
echo "Initializing @NICE_PROJECT_NAME@ database" >&2
|
||||
# Avoiding deletion of files not created by mysql_install_db is
|
||||
# guarded by time check and sleep should help work-arounded
|
||||
# potential issues on systems with 1 second resolution timestamps
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1335849#c19
|
||||
INITDB_TIMESTAMP=`LANG=C date -u`
|
||||
sleep 1
|
||||
@bindir@/mariadb-install-db --rpm --datadir="$datadir" --user="$myuser" --skip-test-db >&2
|
||||
ret=$?
|
||||
if [ $ret -ne 0 ] ; then
|
||||
echo "Initialization of @NICE_PROJECT_NAME@ database failed." >&2
|
||||
echo "Perhaps @sysconfdir@/my.cnf is misconfigured or there is some problem with permissions of $datadir." >&2
|
||||
# Clean up any partially-created database files
|
||||
if [ ! -e "$datadir/mysql/user.frm" ] && [ -d "$datadir" ] ; then
|
||||
echo "Initialization of @NICE_PROJECT_NAME@ database was not finished successfully." >&2
|
||||
echo "Files created so far will be removed." >&2
|
||||
find "$datadir" -mindepth 1 -maxdepth 1 -newermt "$INITDB_TIMESTAMP" \
|
||||
-not -name "lost+found" -exec rm -rf {} +
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "Removing of created files was not successfull." >&2
|
||||
echo "Please, clean directory $datadir manually." >&2
|
||||
fi
|
||||
else
|
||||
echo "However, part of data has been initialized and those will not be removed." >&2
|
||||
echo "Please, clean directory $datadir manually." >&2
|
||||
fi
|
||||
exit $ret
|
||||
fi
|
||||
# upgrade does not need to be run on a fresh datadir
|
||||
echo "@VERSION@-MariaDB" >"$datadir/mysql_upgrade_info"
|
||||
else
|
||||
if [ -d "$datadir/mysql/" ] ; then
|
||||
# mysql dir exists, it seems data are initialized properly
|
||||
echo "Database @NICE_PROJECT_NAME@ is probably initialized in $datadir already, nothing is done."
|
||||
echo "If this is not the case, make sure the $datadir is empty before running `basename $0`."
|
||||
else
|
||||
# if the directory is not empty but mysql/ directory is missing, then
|
||||
# print error and let user to initialize manually or empty the directory
|
||||
echo "Database @NICE_PROJECT_NAME@ is not initialized, but the directory $datadir is not empty, so initialization cannot be done." >&2
|
||||
echo "Make sure the $datadir is empty before running `basename $0`." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
68
mariadb-scripts-common.sh
Normal file
68
mariadb-scripts-common.sh
Normal file
@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Some useful functions used in other MariaDB helper scripts
|
||||
# This scripts defines variables datadir, errlogfile, socketfile
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
# extract value of a MariaDB option from config files
|
||||
# Usage: get_mysql_option VARNAME DEFAULT SECTION [ SECTION, ... ]
|
||||
# result is returned in $result
|
||||
# We use my_print_defaults which prints all options from multiple files,
|
||||
# with the more specific ones later; hence take the last match.
|
||||
get_mysql_option(){
|
||||
if [ $# -ne 3 ] ; then
|
||||
echo "get_mysql_option requires 3 arguments: section option default_value"
|
||||
return
|
||||
fi
|
||||
sections="$1"
|
||||
option_name="$2"
|
||||
default_value="$3"
|
||||
result=`@bindir@/my_print_defaults $my_print_defaults_extra_args $sections | sed -n "s/^--${option_name}=//p" | tail -n 1`
|
||||
if [ -z "$result" ]; then
|
||||
# not found, use default
|
||||
result="${default_value}"
|
||||
fi
|
||||
}
|
||||
|
||||
# For the case of running more instances via systemd, scripts that source
|
||||
# this file can get --default-group-suffix or similar option as the first
|
||||
# argument. The utility my_print_defaults needs to use it as well, so the
|
||||
# scripts sourcing this file work with the same options as the daemon.
|
||||
my_print_defaults_extra_args=''
|
||||
while echo "$1" | grep -q '^--defaults' ; do
|
||||
my_print_defaults_extra_args="${my_print_defaults_extra_args} $1"
|
||||
shift
|
||||
done
|
||||
|
||||
# Defaults here had better match what mariadbd-safe will default to
|
||||
# The option values are generally defined on three important places
|
||||
# on the default installation:
|
||||
# 1) default values are hardcoded in the code of mariadbd daemon or
|
||||
# mariadbd-safe script
|
||||
# 2) configurable values are defined in @sysconfdir@/my.cnf
|
||||
# 3) default values for helper scripts are specified bellow
|
||||
# So, in case values are defined in my.cnf, we need to get that value.
|
||||
# In case they are not defined in my.cnf, we need to get the same value
|
||||
# in the daemon, as in the helper scripts. Thus, default values here
|
||||
# must correspond with values defined in mariadbd-safe script and source
|
||||
# code itself.
|
||||
|
||||
server_sections="mysqld_safe mysqld server mysqld-@MAJOR_VERSION@.@MINOR_VERSION@ mariadb mariadb-@MAJOR_VERSION@.@MINOR_VERSION@ mariadbd mariadbd-@MAJOR_VERSION@.@MINOR_VERSION@ client-server galera"
|
||||
|
||||
get_mysql_option "$server_sections" datadir "@MYSQL_DATADIR@"
|
||||
datadir="$result"
|
||||
|
||||
# if there is log_error in the my.cnf, my_print_defaults still
|
||||
# returns log-error
|
||||
# log-error might be defined in mysqld_safe and mysqld sections,
|
||||
# the former has bigger priority
|
||||
get_mysql_option "$server_sections" log-error "$datadir/`uname -n`.err"
|
||||
errlogfile="$result"
|
||||
|
||||
get_mysql_option "$server_sections" socket "@MYSQL_UNIX_ADDR@"
|
||||
socketfile="$result"
|
||||
|
||||
get_mysql_option "$server_sections" pid-file "$datadir/`uname -n`.pid"
|
||||
pidfile="$result"
|
||||
|
||||
41
mariadb-scripts.patch
Normal file
41
mariadb-scripts.patch
Normal file
@ -0,0 +1,41 @@
|
||||
We have some downstream patches and other scripts that include variables to
|
||||
be expanded by cmake. Cmake needs to know about them, so adding them manually.
|
||||
|
||||
# Install libgcc as mylibgcc.a
|
||||
--- mariadb-10.5.5/scripts/CMakeLists.txt.old 2020-09-24 10:13:35.272589689 +0200
|
||||
+++ mariadb-10.5.5/scripts/CMakeLists.txt 2020-09-24 10:17:31.428985798 +0200
|
||||
@@ -377,6 +377,34 @@
|
||||
INSTALL_LINK(${file} ${binname} ${INSTALL_BINDIR} ${${file}_COMPONENT})
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
+
|
||||
+ # files for systemd
|
||||
+ SET(SYSTEMD_SCRIPTS
|
||||
+ mariadb.tmpfiles.d
|
||||
+ mysql.service
|
||||
+ mysql@.service
|
||||
+ mariadb-prepare-db-dir
|
||||
+ mariadb-check-socket
|
||||
+ mariadb-check-upgrade
|
||||
+ mariadb-scripts-common
|
||||
+ mysql_config_multilib
|
||||
+ clustercheck
|
||||
+ galera_new_cluster
|
||||
+ my.cnf
|
||||
+ )
|
||||
+ FOREACH(file ${SYSTEMD_SCRIPTS})
|
||||
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
|
||||
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
||||
+ ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.in)
|
||||
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.in
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
||||
+ ELSE()
|
||||
+ MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file}.in in "
|
||||
+ "${CMAKE_CURRENT_SOURCE_DIR}" )
|
||||
+ ENDIF()
|
||||
+ ENDFOREACH()
|
||||
+
|
||||
ENDIF()
|
||||
|
||||
# Install libgcc as mylibgcc.a
|
||||
23
mariadb-server-galera.te
Normal file
23
mariadb-server-galera.te
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
module mariadb-server-galera 1.0;
|
||||
|
||||
require {
|
||||
type mysqld_t;
|
||||
type rsync_exec_t;
|
||||
type anon_inodefs_t;
|
||||
type proc_net_t;
|
||||
type kerberos_port_t;
|
||||
class file { read execute execute_no_trans getattr open };
|
||||
class tcp_socket { name_bind name_connect };
|
||||
class process { setpgid siginh rlimitinh noatsecure };
|
||||
}
|
||||
|
||||
# allow mysqld to run rsyncd
|
||||
allow mysqld_t self:process setpgid;
|
||||
allow mysqld_t rsync_exec_t:file { read execute execute_no_trans getattr open };
|
||||
allow mysqld_t anon_inodefs_t:file getattr;
|
||||
allow mysqld_t proc_net_t:file { read open };
|
||||
|
||||
# allow rsyncd to listen on port 4444
|
||||
allow mysqld_t kerberos_port_t:tcp_socket { name_bind name_connect };
|
||||
|
||||
13
mariadb-ssl-cipher-tests.patch
Normal file
13
mariadb-ssl-cipher-tests.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up mariadb-10.3.9/mysql-test/main/ssl_cipher.test.fixtest mariadb-10.3.9/mysql-test/main/ssl_cipher.test
|
||||
--- mariadb-10.3.13/mysql-test/main/ssl_cipher.test 2019-02-20 08:59:09.000000000 +0100
|
||||
+++ mariadb-10.3.13/mysql-test/main/ssl_cipher.test_patched 2019-02-22 11:22:01.250256060 +0100
|
||||
@@ -97,7 +97,9 @@ drop user mysqltest_1@localhost;
|
||||
let $restart_parameters=--ssl-cipher=AES128-SHA;
|
||||
source include/restart_mysqld.inc;
|
||||
connect (ssl_con,localhost,root,,,,,SSL);
|
||||
+--replace_regex /TLS_AES_.*/AES128-SHA/
|
||||
SHOW STATUS LIKE 'Ssl_cipher';
|
||||
+--replace_regex /TLS_AES_.*/AES128-SHA/
|
||||
SHOW STATUS LIKE 'Ssl_cipher_list';
|
||||
disconnect ssl_con;
|
||||
connection default;
|
||||
21
mariadb-ssl-cypher.patch
Normal file
21
mariadb-ssl-cypher.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -up mariadb-10.1.19/mysql-test/r/ssl_8k_key.result.sslbak mariadb-10.1.19/mysql-test/r/ssl_8k_key.result
|
||||
--- mariadb-10.1.19/mysql-test/r/ssl_8k_key.result.sslbak 2016-11-24 08:55:21.637000000 -0500
|
||||
+++ mariadb-10.1.19/mysql-test/r/ssl_8k_key.result 2016-11-24 08:55:55.853000000 -0500
|
||||
@@ -1,2 +1,2 @@
|
||||
-Variable_name Value
|
||||
-Ssl_cipher DHE-RSA-AES256-SHA
|
||||
+have_ssl
|
||||
+1
|
||||
diff -up mariadb-10.1.19/mysql-test/t/ssl_8k_key.test.sslbak mariadb-10.1.19/mysql-test/t/ssl_8k_key.test
|
||||
--- mariadb-10.1.19/mysql-test/t/ssl_8k_key.test.sslbak 2016-11-24 08:54:10.485000000 -0500
|
||||
+++ mariadb-10.1.19/mysql-test/t/ssl_8k_key.test 2016-11-24 08:54:35.724000000 -0500
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# Bug#29784 YaSSL assertion failure when reading 8k key.
|
||||
#
|
||||
---exec $MYSQL --ssl --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1
|
||||
+--exec $MYSQL --ssl --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher'" 2>&1
|
||||
|
||||
## This test file is for testing encrypted communication only, not other
|
||||
## encryption routines that the SSL library happens to provide!
|
||||
|
||||
79
mariadb.rpmlintrc
Normal file
79
mariadb.rpmlintrc
Normal file
@ -0,0 +1,79 @@
|
||||
# THIS FILE SERVES FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON
|
||||
# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors
|
||||
|
||||
# (same file in python3 package served as a great example)
|
||||
|
||||
|
||||
|
||||
# Spelling errors
|
||||
addFilter(r'spelling-error .* en_US (cnf|mysqld|benchmarking|pam|passwordless|subpackage|libmariadb|mariadbd) ')
|
||||
|
||||
# Debugsource
|
||||
addFilter(r'^mariadb.*debugsource\.[^:]+: (E|W): no-documentation')
|
||||
# Debuginfo
|
||||
addFilter(r'^mariadb.*debuginfo\.[^:]+: (E|W): useless-provides debuginfo\(build-id\)')
|
||||
# Debug symlinks
|
||||
addFilter(r'dangling-relative-symlink /usr/lib/.build-id')
|
||||
|
||||
# Testsuite
|
||||
# Some expected tests results are zero-length files
|
||||
addFilter(r'(zero-length|pem-certificate) /usr/share/mysql-test/*')
|
||||
|
||||
# Chroot function
|
||||
# False positive; checked by upstream
|
||||
addFilter(r'missing-call-to-chdir-with-chroot')
|
||||
|
||||
# Missing documentation
|
||||
# I don't think that's on the upstream priority list
|
||||
addFilter(r'no-documentation')
|
||||
addFilter(r'no-manual-page-for-binary')
|
||||
|
||||
# Obsoleted not provided
|
||||
# Obsoleting upstream packages, not providing them is expected to not mix them up
|
||||
addFilter(r'obsolete-not-provided MySQL')
|
||||
# Provided by mariadb-connector-c
|
||||
addFilter(r'obsolete-not-provided mariadb-libs')
|
||||
# Upstream dropped support
|
||||
addFilter(r'obsolete-not-provided mariadb-bench')
|
||||
addFilter(r'obsolete-not-provided mariadb-tokudb-engine')
|
||||
|
||||
# Config file without noreplace flag
|
||||
# Don't replace logs that may contain old entries
|
||||
addFilter(r'conffile-without-noreplace-flag /var/log/mariadb/mariadb.log')
|
||||
|
||||
# Log rotation
|
||||
# MariaDB log rotation script is commented out, because it is still not ready for big industry usage.
|
||||
# Let the user decide, if they want to enable it (uncomment it)
|
||||
addFilter(r'incoherent-logrotate-file /etc/logrotate.d/mariadb')
|
||||
|
||||
# Permissions
|
||||
# wsrep_sst_common
|
||||
# It contains a parser of arguments for other sst scripts.
|
||||
# It is meant to be sourced, not to be executed alone.
|
||||
# So it correctly does not have shebang nor executable bit.
|
||||
addFilter(r'non-executable-in-bin /usr/bin/wsrep_sst_common 644')
|
||||
addFilter(r'script-without-shebang /usr/bin/wsrep_sst_common')
|
||||
addFilter(r'non-executable-script /usr/bin/wsrep_sst_common 644 None')
|
||||
# mariadb-scripts-common has a similar issue
|
||||
addFilter(r'non-executable-script /usr/libexec/mariadb-scripts-common 644 /bin/sh')
|
||||
# Seems pretty standard to me ...
|
||||
addFilter(r'non-standard-dir-perm /var/log/mariadb 750')
|
||||
# 640 is IMO also prety OK
|
||||
addFilter(r'non-readable /etc/sysconfig/clustercheck 640')
|
||||
|
||||
# Unversioned bundles
|
||||
# RocksDB has so rapid developement, it it not compatible through versions.
|
||||
# That means we need to stick to the exact verison upstream use.
|
||||
addFilter(r'unversioned-explicit-provides bundled\(rocksdb\)')
|
||||
|
||||
# Testsuite errors
|
||||
addFilter(r'non-executable-script /usr/share/mysql-test')
|
||||
addFilter(r'arch-dependent-file-in-usr-share /usr/share/mysql-test')
|
||||
|
||||
# Comments at the end of RPM %endif tags
|
||||
addFilter(r'extra tokens at the end of %endif directive')
|
||||
|
||||
# PAM plugin specialities - all expected
|
||||
addFilter(r'non-conffile-in-etc /etc/security/user_map.conf')
|
||||
addFilter(r'setuid-binary /usr/lib64/mariadb/plugin/auth_pam_tool_dir/auth_pam_tool')
|
||||
addFilter(r'non-standard-executable-perm /usr/lib64/mariadb/plugin/auth_pam_tool_dir/auth_pam_tool')
|
||||
1694
mariadb.spec
1694
mariadb.spec
File diff suppressed because it is too large
Load Diff
3
mariadb.tmpfiles.d.in
Normal file
3
mariadb.tmpfiles.d.in
Normal file
@ -0,0 +1,3 @@
|
||||
# Do not edit this file.
|
||||
# To override this, put /etc/tmpfiles.d/mariadb.conf instead.
|
||||
d @PID_FILE_DIR@ 0755 mysql mysql -
|
||||
18
my.cnf.in
Normal file
18
my.cnf.in
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# This group is read both both by the client and the server
|
||||
# use it for options that affect everything
|
||||
#
|
||||
[client-server]
|
||||
|
||||
#
|
||||
# This group is read by the server
|
||||
#
|
||||
[mysqld]
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
|
||||
#
|
||||
# include all files from the config directory
|
||||
#
|
||||
!includedir @INSTALL_SYSCONF2DIR@
|
||||
|
||||
64
mysql.service.in
Normal file
64
mysql.service.in
Normal file
@ -0,0 +1,64 @@
|
||||
# It's not recommended to modify this file in-place, because it will be
|
||||
# overwritten during package upgrades. If you want to customize, the
|
||||
# best way is to:
|
||||
#
|
||||
# root> systemctl edit @DAEMON_NAME@.service
|
||||
#
|
||||
# Then add additonal directives under a section (probably [Service]).
|
||||
#
|
||||
# For more info about custom unit files, see systemd.unit(5) or
|
||||
# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
|
||||
#
|
||||
# For example, if you want to increase MariaDB's open-files-limit to 10000,
|
||||
# you need to increase systemd's LimitNOFILE setting, use the contents below:
|
||||
#
|
||||
# [Service]
|
||||
# LimitNOFILE=10000
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=@NICE_PROJECT_NAME@ @MAJOR_VERSION@.@MINOR_VERSION@ database server
|
||||
Documentation=man:mariadbd(8)
|
||||
Documentation=https://mariadb.com/kb/en/library/systemd/
|
||||
After=network.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=mysql.service
|
||||
Alias=mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
User=mysql
|
||||
Group=mysql
|
||||
|
||||
ExecStartPre=@libexecdir@/mariadb-check-socket
|
||||
# '%n' expands to 'Full unit name'; man systemd.unit
|
||||
ExecStartPre=@libexecdir@/mariadb-prepare-db-dir %n
|
||||
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/@DAEMON_NAME@@.service.d/MY_SPECIAL.conf
|
||||
# Note: we set --basedir to prevent probes that might trigger SELinux alarms,
|
||||
# per bug #547485
|
||||
ExecStart=@libexecdir@/mariadbd --basedir=@prefix@ $MYSQLD_OPTS $_WSREP_NEW_CLUSTER
|
||||
ExecStartPost=@libexecdir@/mariadb-check-upgrade
|
||||
|
||||
# Setting this to true can break replication and the Type=notify settings
|
||||
# See also bind-address MariaDB option.
|
||||
PrivateNetwork=false
|
||||
|
||||
KillSignal=SIGTERM
|
||||
|
||||
# Don't want to see an automated SIGKILL ever
|
||||
SendSIGKILL=no
|
||||
|
||||
# Restart crashed server only, on-failure would also restart, for example, when
|
||||
# my.cnf contains unknown option
|
||||
Restart=on-abort
|
||||
RestartSec=5s
|
||||
|
||||
UMask=007
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down
|
||||
TimeoutSec=300
|
||||
|
||||
# Place temp files in a secure directory, not /tmp
|
||||
PrivateTmp=true
|
||||
85
mysql@.service.in
Normal file
85
mysql@.service.in
Normal file
@ -0,0 +1,85 @@
|
||||
# Multi instance version of MariaDB. For if you run mutiple verions at once.
|
||||
# Also used for @DAEMON_NAME@@bootstrap to bootstrap Galera.
|
||||
#
|
||||
# To use multi instance variant, use [mariadbd.INSTANCENAME] as sections in
|
||||
# @sysconfdir@/@my.cnf to change per instance settings. A minimumal necessary
|
||||
# configuration items to change to avoid conflicts between instances is:
|
||||
#
|
||||
# [mariadbd.instancename]
|
||||
# # TCP port to make available for clients
|
||||
# port=3306
|
||||
# # Socket to make available for clients
|
||||
# socket=/tmp/mariadb-instancename.sock
|
||||
# # Where MariaDB should store all its data
|
||||
# datadir=/usr/local/mariadb-instancename/data
|
||||
#
|
||||
# and start the service via:
|
||||
#
|
||||
# root> systemctl start @DAEMON_NAME@@{instancename}.server
|
||||
#
|
||||
# It's not recommended to modify this file in-place, because it will be
|
||||
# overwritten during package upgrades. If you want to customize, for
|
||||
# all instances, the best way is:
|
||||
#
|
||||
# root> systemctl edit @DAEMON_NAME@@.service
|
||||
#
|
||||
# Then add additonal directives under a section (probably [Service]).
|
||||
#
|
||||
# If you only want to change a specific instance:
|
||||
#
|
||||
# root> systemctl edit @DAEMON_NAME@@{instancename}.server
|
||||
#
|
||||
# For more info about custom unit files, see systemd.unit(5) or
|
||||
# http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F
|
||||
#
|
||||
# For example, if you want to increase MariaDB's open-files-limit to 10000,
|
||||
# you need to increase systemd's LimitNOFILE setting, use the contents below:
|
||||
#
|
||||
# [Service]
|
||||
# LimitNOFILE=10000
|
||||
|
||||
[Unit]
|
||||
Description=@NICE_PROJECT_NAME@ @MAJOR_VERSION@.@MINOR_VERSION@ database server
|
||||
Documentation=man:mariadbd(8)
|
||||
Documentation=https://mariadb.com/kb/en/library/systemd/
|
||||
After=network.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=mysql.service
|
||||
Alias=mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
User=mysql
|
||||
Group=mysql
|
||||
|
||||
ExecStartPre=@libexecdir@/mariadb-check-socket --defaults-group-suffix=.%I
|
||||
ExecStartPre=@libexecdir@/mariadb-prepare-db-dir --defaults-group-suffix=.%I %n
|
||||
# MYSQLD_OPTS here is for users to set in /etc/systemd/system/@DAEMON_NAME@@.service.d/MY_SPECIAL.conf
|
||||
# Note: we set --basedir to prevent probes that might trigger SELinux alarms,
|
||||
# per bug #547485
|
||||
ExecStart=@libexecdir@/mariadbd --defaults-group-suffix=.%I --basedir=@prefix@ $MYSQLD_OPTS $_WSREP_NEW_CLUSTER
|
||||
ExecStartPost=@libexecdir@/mariadb-check-upgrade --defaults-group-suffix=.%I
|
||||
|
||||
# Setting this to true can break replication and the Type=notify settings
|
||||
# See also bind-address MariaDB option.
|
||||
PrivateNetwork=false
|
||||
|
||||
KillSignal=SIGTERM
|
||||
|
||||
# Don't want to see an automated SIGKILL ever
|
||||
SendSIGKILL=no
|
||||
|
||||
# Restart crashed server only, on-failure would also restart, for example, when
|
||||
# my.cnf contains unknown option
|
||||
Restart=on-abort
|
||||
RestartSec=5s
|
||||
|
||||
UMask=007
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down
|
||||
TimeoutSec=300
|
||||
|
||||
# Place temp files in a secure directory, not /tmp
|
||||
PrivateTmp=true
|
||||
26
mysql_config_multilib.sh
Normal file
26
mysql_config_multilib.sh
Normal file
@ -0,0 +1,26 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Wrapper script for mysql_config to support multilib
|
||||
#
|
||||
# This command respects setarch
|
||||
|
||||
bits=$(rpm --eval %__isa_bits)
|
||||
|
||||
case $bits in
|
||||
32|64) status=known ;;
|
||||
*) status=unknown ;;
|
||||
esac
|
||||
|
||||
if [ "$status" = "unknown" ] ; then
|
||||
echo "$0: error: command 'rpm --eval %__isa_bits' returned unknown value: $bits"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
if [ -x @bindir@/mysql_config-$bits ] ; then
|
||||
@bindir@/mysql_config-$bits "$@"
|
||||
else
|
||||
echo "$0: error: needed binary: @bindir@/mysql_config-$bits is missing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
5
skipped-tests-arm.list
Normal file
5
skipped-tests-arm.list
Normal file
@ -0,0 +1,5 @@
|
||||
# Fails since 10.3.17, only on armv7hl
|
||||
versioning.partition :
|
||||
|
||||
# Fail since 10.4.16 only on armv7hl
|
||||
versioning.partition_rotation :
|
||||
54
skipped-tests-base.list
Normal file
54
skipped-tests-base.list
Normal file
@ -0,0 +1,54 @@
|
||||
# The SSL test are failing correctly. Fro more explanation, see:
|
||||
# https://jira.mariadb.org/browse/MDEV-8404?focusedCommentId=84275&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-84275
|
||||
main.ssl_7937 : #1399847
|
||||
main.ssl_8k_key :
|
||||
main.ssl_crl : #1399847
|
||||
|
||||
# ------------------------------
|
||||
# Tests that fails because of 'Self Signed Certificate in the Certificate Chain'
|
||||
perfschema.cnf_option :
|
||||
|
||||
rpl.rpl_row_img_blobs :
|
||||
rpl.rpl_row_img_eng_min :
|
||||
rpl.rpl_row_img_eng_noblob :
|
||||
|
||||
sys_vars.slave_parallel_threads_basic :
|
||||
|
||||
# ------------------------------
|
||||
# Expected to fail, the plugin is not build with server, but 'mariadb-connector-c' instead
|
||||
plugins.auth_ed25519 :
|
||||
plugins.multiauth :
|
||||
|
||||
# ------------------------------
|
||||
perfschema.nesting : #1399847
|
||||
perfschema.socket_summary_by_instance_func : #1399847
|
||||
perfschema.socket_summary_by_event_name_func :
|
||||
|
||||
# ------------------------------
|
||||
# Fails since 10.1.12
|
||||
innodb.innodb_defrag_binlog :
|
||||
|
||||
# Fails everywhere since 10.2.15
|
||||
main.userstat :
|
||||
|
||||
# Fails everywhere since 10.4.11
|
||||
main.events_bugs :
|
||||
sys_vars.tcp_nodelay :
|
||||
|
||||
# Fails on i686
|
||||
encryption.innodb-redo-badkey :
|
||||
|
||||
# Fails since 10.5.2
|
||||
main.mysqld--help2 :
|
||||
disks.disks :
|
||||
disks.disks_notembedded :
|
||||
|
||||
# Fails since 10.5.3
|
||||
main.mysqld--help-aria :
|
||||
|
||||
# Fails since 10.5.4
|
||||
main.ssl_system_ca :
|
||||
|
||||
# Fails since 10.5.7
|
||||
innodb.innodb_wl6326_big :
|
||||
plugins.feedback_plugin_load :
|
||||
Loading…
x
Reference in New Issue
Block a user