1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

fix uninitialized field warnings

This commit is contained in:
Nikita Malyavin
2023-11-16 10:50:38 +01:00
committed by Oleksandr Byelkin
parent 0427c4739e
commit 929532a942
3 changed files with 3 additions and 2 deletions

View File

@@ -2604,7 +2604,7 @@ static void xarecover_do_commit_or_rollback(handlerton *hton,
// Populate xid using the server_id from original transaction
x.set(member->xid, member->server_id);
else
(XID)x= *member->full_xid;
x= *member->full_xid;
rc= xarecover_decide_to_commit(member, ptr_commit_max) ?
hton->commit_by_xid(hton, &x) : hton->rollback_by_xid(hton, &x);