Skip to content

Commit 691f923

Browse files
committed
Merge 10.5 into 10.6
2 parents c0f6c4b + b770633 commit 691f923

File tree

151 files changed

+3233
-2261
lines changed

Some content is hidden

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

151 files changed

+3233
-2261
lines changed

debian/mariadb-server-10.6.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ usr/share/man/man1/myisampack.1
7171
usr/share/man/man1/mysqld_multi.1
7272
usr/share/man/man1/mysqld_safe.1
7373
usr/share/man/man1/mysqld_safe_helper.1
74+
usr/share/man/man1/wsrep_sst_backup.1
7475
usr/share/man/man1/wsrep_sst_common.1
7576
usr/share/man/man1/wsrep_sst_mariabackup.1
7677
usr/share/man/man1/wsrep_sst_mysqldump.1

extra/mariabackup/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ ADD_DEFINITIONS(${SSL_DEFINES})
5151
MYSQL_ADD_EXECUTABLE(mariadb-backup
5252
xtrabackup.cc
5353
innobackupex.cc
54-
changed_page_bitmap.cc
5554
datasink.cc
5655
ds_buffer.cc
5756
ds_compress.cc

extra/mariabackup/backup_mysql.cc

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ mysql_flavor_t server_flavor = FLAVOR_UNKNOWN;
7373
unsigned long mysql_server_version = 0;
7474

7575
/* server capabilities */
76-
bool have_changed_page_bitmaps = false;
7776
bool have_backup_locks = false;
7877
bool have_lock_wait_timeout = false;
7978
bool have_galera_enabled = false;
@@ -607,34 +606,6 @@ Query the server to find out what backup capabilities it supports.
607606
bool
608607
detect_mysql_capabilities_for_backup()
609608
{
610-
const char *query = "SELECT 'INNODB_CHANGED_PAGES', COUNT(*) FROM "
611-
"INFORMATION_SCHEMA.PLUGINS "
612-
"WHERE PLUGIN_NAME LIKE 'INNODB_CHANGED_PAGES'";
613-
char *innodb_changed_pages = NULL;
614-
mysql_variable vars[] = {
615-
{"INNODB_CHANGED_PAGES", &innodb_changed_pages}, {NULL, NULL}};
616-
617-
if (xtrabackup_incremental) {
618-
619-
read_mysql_variables(mysql_connection, query, vars, true);
620-
621-
ut_ad(innodb_changed_pages != NULL);
622-
623-
have_changed_page_bitmaps = (atoi(innodb_changed_pages) == 1);
624-
625-
/* INNODB_CHANGED_PAGES are listed in
626-
INFORMATION_SCHEMA.PLUGINS in MariaDB, but
627-
FLUSH NO_WRITE_TO_BINLOG CHANGED_PAGE_BITMAPS
628-
is not supported for versions below 10.1.6
629-
(see MDEV-7472) */
630-
if (server_flavor == FLAVOR_MARIADB &&
631-
mysql_server_version < 100106) {
632-
have_changed_page_bitmaps = false;
633-
}
634-
635-
free_mysql_variables(vars);
636-
}
637-
638609
/* do some sanity checks */
639610
if (opt_galera_info && !have_galera_enabled) {
640611
msg("--galera-info is specified on the command "
@@ -2002,18 +1973,6 @@ select_history()
20021973
return(true);
20031974
}
20041975

2005-
bool
2006-
flush_changed_page_bitmaps()
2007-
{
2008-
if (xtrabackup_incremental && have_changed_page_bitmaps &&
2009-
!xtrabackup_incremental_force_scan) {
2010-
xb_mysql_query(mysql_connection,
2011-
"FLUSH NO_WRITE_TO_BINLOG CHANGED_PAGE_BITMAPS", false);
2012-
}
2013-
return(true);
2014-
}
2015-
2016-
20171976
/*********************************************************************//**
20181977
Deallocate memory, disconnect from server, etc.
20191978
@return true on success. */

extra/mariabackup/backup_mysql.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ extern mysql_flavor_t server_flavor;
1010
extern unsigned long mysql_server_version;
1111

1212
/* server capabilities */
13-
extern bool have_changed_page_bitmaps;
1413
extern bool have_backup_locks;
1514
extern bool have_lock_wait_timeout;
1615
extern bool have_galera_enabled;
@@ -39,9 +38,6 @@ capture_tool_command(int argc, char **argv);
3938
bool
4039
select_history();
4140

42-
bool
43-
flush_changed_page_bitmaps();
44-
4541
void
4642
backup_cleanup();
4743

0 commit comments

Comments
 (0)