mirror of
https://github.com/MariaDB/server.git
synced 2025-04-19 13:45:32 +02:00
Merge '10.5' into 10.6
This commit is contained in:
commit
d8368ae289
5 changed files with 5 additions and 9 deletions
mysql-test
sql
|
@ -2,4 +2,4 @@
|
|||
Variable_name Value
|
||||
Ssl_version TLS_VERSION
|
||||
# try logging in with a certificate in the server's --ssl-crl : should fail
|
||||
ERROR 2026 (HY000): TLS/SSL error: sslv3 alert certificate revoked
|
||||
ERROR 2026 (HY000): TLS/SSL error: ssl/tls alert certificate revoked
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
--exec $MYSQL --ssl-ca=$MYSQL_TEST_DIR/std_data/cacert.pem --ssl-key=$MYSQL_TEST_DIR/std_data/server-new-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/server-new-cert.pem test -e "SHOW STATUS LIKE 'Ssl_version'"
|
||||
|
||||
--echo # try logging in with a certificate in the server's --ssl-crl : should fail
|
||||
# OpenSSL 1.1.1a correctly rejects the certificate, but the error message is different
|
||||
--replace_regex /ERROR 2013 \(HY000\): Lost connection to server at '.*', system error: [0-9]+/ERROR 2026 (HY000): TLS\/SSL error: sslv3 alert certificate revoked/
|
||||
# OpenSSL 1.1.1a and later releases correctly rejects the certificate, but the error message is different
|
||||
--replace_regex /(ERROR 2013 \(HY000\): Lost connection to server at '.*', system error: [0-9]+|ERROR 2026 \(HY000\): TLS\/SSL error: sslv3 alert certificate revoked)/ERROR 2026 (HY000): TLS\/SSL error: ssl\/tls alert certificate revoked/
|
||||
--error 1
|
||||
--exec $MYSQL --ssl-ca=$MYSQL_TEST_DIR/std_data/cacert.pem --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem test -e "SHOW STATUS LIKE 'Ssl_version'" 2>&1
|
||||
|
|
|
@ -24,3 +24,4 @@ galera_sst_mysqldump_with_key : MDEV-32782 galera_sst_mysqldump_with_key test fa
|
|||
galera_var_ignore_apply_errors : MENT-1997 galera_var_ignore_apply_errors test freezes
|
||||
MW-402 : temporarily disabled at the request of Codership
|
||||
galera_desync_overlapped : MDEV-21538 galera_desync_overlapped MTR failed: Result content mismatch
|
||||
galera_create_table_as_select : MDEV-33952 fails sporadically
|
||||
|
|
|
@ -1 +1 @@
|
|||
--master-retry-count=100
|
||||
--master-retry-count=100 --slave-net-timeout=10
|
||||
|
|
|
@ -7506,9 +7506,6 @@ static int connect_to_master(THD* thd, MYSQL* mysql, Master_info* mi,
|
|||
default_client_charset_info->cs_name.str);
|
||||
}
|
||||
|
||||
/* This one is not strictly needed but we have it here for completeness */
|
||||
mysql_options(mysql, MYSQL_SET_CHARSET_DIR, (char *) charsets_dir);
|
||||
|
||||
/* Set MYSQL_PLUGIN_DIR in case master asks for an external authentication plugin */
|
||||
if (opt_plugin_dir_ptr && *opt_plugin_dir_ptr)
|
||||
mysql_options(mysql, MYSQL_PLUGIN_DIR, opt_plugin_dir_ptr);
|
||||
|
@ -7652,8 +7649,6 @@ MYSQL *rpl_connect_master(MYSQL *mysql)
|
|||
|
||||
mysql_options(mysql, MYSQL_SET_CHARSET_NAME,
|
||||
default_charset_info->cs_name.str);
|
||||
/* This one is not strictly needed but we have it here for completeness */
|
||||
mysql_options(mysql, MYSQL_SET_CHARSET_DIR, (char *) charsets_dir);
|
||||
|
||||
if (mi->user == NULL
|
||||
|| mi->user[0] == 0
|
||||
|
|
Loading…
Add table
Reference in a new issue