summaryrefslogtreecommitdiff
path: root/extra/mariabackup/wsrep.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariabackup/wsrep.cc')
-rw-r--r--extra/mariabackup/wsrep.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/mariabackup/wsrep.cc b/extra/mariabackup/wsrep.cc
index fac1fdcf583..c3ad1b53a21 100644
--- a/extra/mariabackup/wsrep.cc
+++ b/extra/mariabackup/wsrep.cc
@@ -75,8 +75,7 @@ xb_write_galera_info(bool incremental_prepare)
return;
}
- memset(&xid, 0, sizeof(xid));
- xid.formatID = -1;
+ xid.null();
if (!trx_rseg_read_wsrep_checkpoint(xid)) {