summaryrefslogtreecommitdiff
path: root/extra/mariabackup/wsrep.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-08-03 13:02:56 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-08-03 13:02:56 +0300
commit814ae57daf3ba7ac7f8c7892fbd54a6142a70f44 (patch)
tree24a647cfd585c6ba42a185002fe9394ab74d4bd4 /extra/mariabackup/wsrep.cc
parent976f92051417a99369f5bb45d9f18c87655a9f85 (diff)
parent9d42eb5e28303adb4d9467ac3e9c3be35d46e643 (diff)
downloadmariadb-git-814ae57daf3ba7ac7f8c7892fbd54a6142a70f44.tar.gz
Merge 10.1 into 10.2
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 1cc16affbf2..8e755171647 100644
--- a/extra/mariabackup/wsrep.cc
+++ b/extra/mariabackup/wsrep.cc
@@ -178,8 +178,7 @@ xb_write_galera_info(bool incremental_prepare)
return;
}
- memset(&xid, 0, sizeof(xid));
- xid.formatID = -1;
+ xid.null();
if (!trx_sys_read_wsrep_checkpoint(&xid)) {