Commit 67a0224a authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Merge branch '11.2' into 11.3

parents 34272bd6 929532a9
...@@ -2605,7 +2605,7 @@ static void xarecover_do_commit_or_rollback(handlerton *hton, ...@@ -2605,7 +2605,7 @@ static void xarecover_do_commit_or_rollback(handlerton *hton,
// Populate xid using the server_id from original transaction // Populate xid using the server_id from original transaction
x.set(member->xid, member->server_id); x.set(member->xid, member->server_id);
else else
(XID)x= *member->full_xid; x= *member->full_xid;
rc= xarecover_decide_to_commit(member, ptr_commit_max) ? rc= xarecover_decide_to_commit(member, ptr_commit_max) ?
hton->commit_by_xid(hton, &x) : hton->rollback_by_xid(hton, &x); hton->commit_by_xid(hton, &x) : hton->rollback_by_xid(hton, &x);
......
...@@ -978,6 +978,7 @@ struct Online_alter_cache_list; ...@@ -978,6 +978,7 @@ struct Online_alter_cache_list;
struct XA_data: XID struct XA_data: XID
{ {
Online_alter_cache_list *online_alter_cache= NULL; Online_alter_cache_list *online_alter_cache= NULL;
XA_data &operator=(const XID &x) { XID::operator=(x); return *this; }
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment