summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Lesin <vlad_lesin@mail.ru>2020-10-27 20:03:41 +0300
committerVlad Lesin <vlad_lesin@mail.ru>2020-10-27 20:03:41 +0300
commit66de5e2b60377e42040b9655049de11b8a8098ca (patch)
tree7dd556763ff0437497ed70e0ca57028f636a67a1
parent8761571a71f0d628c5a82abed115e170d63e34c0 (diff)
downloadmariadb-git-10.2-MDEV-24026.tar.gz
MDEV-24026: InnoDB: Failing assertion: os_total_large_mem_allocated >= size upon incremental backup10.2-MDEV-24026
Preliminary fix without test case.
-rw-r--r--extra/mariabackup/xtrabackup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index 668a355f0fa..93a4896ec94 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -2560,6 +2560,7 @@ static my_bool xtrabackup_copy_datafile(fil_node_t *node, uint thread_n,
xb_read_filt_t *read_filter;
my_bool rc = FALSE;
+ memset(&write_filt_ctxt, 0, sizeof(xb_write_filt_ctxt_t));
/* Get the name and the path for the tablespace. node->name always
contains the path (which may be absolute for remote tablespaces in
5.6+). space->name contains the tablespace name in the form
@@ -2605,7 +2606,6 @@ static my_bool xtrabackup_copy_datafile(fil_node_t *node, uint thread_n,
sizeof dst_name - 1);
dst_name[sizeof dst_name - 1] = '\0';
- memset(&write_filt_ctxt, 0, sizeof(xb_write_filt_ctxt_t));
ut_a(write_filter.process != NULL);
if (write_filter.init != NULL &&