Skip to content

Commit 78829a5

Browse files
committed
Merge 10.3 into 10.4
2 parents d6ba849 + 947b6b8 commit 78829a5

File tree

83 files changed

+945
-270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+945
-270
lines changed

client/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ENDIF(UNIX)
4646

4747
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
4848
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
49-
TARGET_LINK_LIBRARIES(mysqltest ${CLIENT_LIB} pcre pcreposix)
49+
TARGET_LINK_LIBRARIES(mysqltest ${CLIENT_LIB} pcreposix pcre)
5050
SET_TARGET_PROPERTIES(mysqltest PROPERTIES ENABLE_EXPORTS TRUE)
5151

5252

debian/mariadb-server-10.4.install

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ usr/share/man/man1/resolveip.1
9090
usr/share/man/man1/wsrep_sst_common.1
9191
usr/share/man/man1/wsrep_sst_mysqldump.1
9292
usr/share/man/man1/wsrep_sst_rsync.1
93-
usr/share/man/man1/wsrep_sst_xtrabackup-v2.1
94-
usr/share/man/man1/wsrep_sst_xtrabackup.1
93+
usr/share/man/man1/wsrep_sst_mariabackup.1
9594
usr/share/mysql/errmsg-utf8.txt
9695
usr/share/mysql/fill_help_tables.sql
9796
usr/share/mysql/maria_add_gis_sp_bootstrap.sql

extra/mariabackup/fil_cur.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static bool page_is_corrupted(const byte *page, ulint page_no,
321321
page_no first. */
322322
if (page_no
323323
&& mach_read_from_4(page + FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION)
324-
&& (opt_backup_encrypted
324+
&& (opt_encrypted_backup
325325
|| (space->crypt_data
326326
&& space->crypt_data->type != CRYPT_SCHEME_UNENCRYPTED))) {
327327

extra/mariabackup/xtrabackup.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static char* log_ignored_opt;
201201
extern my_bool opt_use_ssl;
202202
my_bool opt_ssl_verify_server_cert;
203203
my_bool opt_extended_validation;
204-
my_bool opt_backup_encrypted;
204+
my_bool opt_encrypted_backup;
205205

206206
/* === metadata of backup === */
207207
#define XTRABACKUP_METADATA_FILENAME "xtrabackup_checkpoints"
@@ -760,7 +760,7 @@ enum options_xtrabackup
760760
OPT_XTRA_DATABASES_FILE,
761761
OPT_XTRA_PARALLEL,
762762
OPT_XTRA_EXTENDED_VALIDATION,
763-
OPT_XTRA_BACKUP_ENCRYPTED,
763+
OPT_XTRA_ENCRYPTED_BACKUP,
764764
OPT_XTRA_STREAM,
765765
OPT_XTRA_COMPRESS,
766766
OPT_XTRA_COMPRESS_THREADS,
@@ -1226,12 +1226,12 @@ struct my_option xb_server_options[] =
12261226
(G_PTR*)&opt_extended_validation,
12271227
0, GET_BOOL, NO_ARG, FALSE, 0, 0, 0, 0, 0},
12281228

1229-
{"backup_encrypted", OPT_XTRA_BACKUP_ENCRYPTED,
1229+
{"encrypted_backup", OPT_XTRA_ENCRYPTED_BACKUP,
12301230
"In --backup, assume that nonzero key_version implies that the page"
1231-
" is encrypted. Use --backup --skip-backup-encrypted to allow"
1231+
" is encrypted. Use --backup --skip-encrypted-backup to allow"
12321232
" copying unencrypted that were originally created before MySQL 5.1.48.",
1233-
(G_PTR*)&opt_backup_encrypted,
1234-
(G_PTR*)&opt_backup_encrypted,
1233+
(G_PTR*)&opt_encrypted_backup,
1234+
(G_PTR*)&opt_encrypted_backup,
12351235
0, GET_BOOL, NO_ARG, TRUE, 0, 0, 0, 0, 0},
12361236

12371237
{"log", OPT_LOG, "Ignored option for MySQL option compatibility",

extra/mariabackup/xtrabackup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ extern my_bool opt_no_backup_locks;
108108
extern my_bool opt_decompress;
109109
extern my_bool opt_remove_original;
110110
extern my_bool opt_extended_validation;
111-
extern my_bool opt_backup_encrypted;
111+
extern my_bool opt_encrypted_backup;
112112
extern my_bool opt_lock_ddl_per_table;
113113

114114
extern char *opt_incremental_history_name;

libmysqld/examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ENDIF(UNIX)
3434

3535
MYSQL_ADD_EXECUTABLE(mysqltest_embedded ../../client/mysqltest.cc
3636
COMPONENT Test)
37-
TARGET_LINK_LIBRARIES(mysqltest_embedded mysqlserver pcre pcreposix)
37+
TARGET_LINK_LIBRARIES(mysqltest_embedded mysqlserver pcreposix pcre)
3838

3939
IF(CMAKE_GENERATOR MATCHES "Xcode")
4040
# It does not seem possible to tell Xcode the resulting target might need

man/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ SET(MAN1_SERVER innochecksum.1 my_print_defaults.1 myisam_ftdump.1 myisamchk.1
2525
resolveip.1 mariadb-service-convert.1
2626
mysqld_safe_helper.1 tokuftdump.1 wsrep_sst_common.1
2727
wsrep_sst_mysqldump.1 wsrep_sst_rsync.1
28-
wsrep_sst_xtrabackup-v2.1 wsrep_sst_xtrabackup.1
2928
galera_recovery.1 galera_new_cluster.1 tokuft_logprint.1
3029
mysql_ldb.1
3130
wsrep_sst_mariabackup.1 mbstream.1 mariabackup.1

man/wsrep_sst_xtrabackup-v2.1

Lines changed: 0 additions & 18 deletions
This file was deleted.

man/wsrep_sst_xtrabackup.1

Lines changed: 0 additions & 18 deletions
This file was deleted.

mysql-test/main/connect.result

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ connect fail_con,localhost,test,zorro,;
101101
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
102102
update mysql.user set plugin="", authentication_string="", password=old_password("gambling2") where user=_binary"test";
103103
flush privileges;
104+
show grants for test@localhost;
105+
Grants for test@localhost
106+
GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' IDENTIFIED BY PASSWORD '2f27438961437573'
107+
update mysql.user set plugin='mysql_old_password' where user='test';
108+
flush privileges;
109+
show grants for test@localhost;
110+
Grants for test@localhost
111+
GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' IDENTIFIED BY PASSWORD '2f27438961437573'
104112
connect con10,localhost,test,gambling2,;
105113
connect con5,localhost,test,gambling2,mysql;
106114
set password="";

0 commit comments

Comments
 (0)