Skip to content

Commit

Permalink
Merge pull request #2868 from sysown/v2.0.13-2615
Browse files Browse the repository at this point in the history
Fixes #2615: Empty Queries_GTID_sync field
  • Loading branch information
renecannao authored Jun 9, 2020
2 parents 7b19598 + a427eca commit 7a16cdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MySQL_Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5781,11 +5781,13 @@ void MySQL_Session::handler___client_DSS_QUERY_SENT___server_DSS_NOT_INITIALIZED
if (session_fast_forward == false) {
if (qpo->min_gtid) {
gtid_uuid = qpo->min_gtid;
with_gtid = true;
} else if (qpo->gtid_from_hostgroup >= 0) {
_gtid_from_backend = find_backend(qpo->gtid_from_hostgroup);
if (_gtid_from_backend) {
if (_gtid_from_backend->gtid_uuid[0]) {
gtid_uuid = _gtid_from_backend->gtid_uuid;
with_gtid = true;
}
}
}
Expand Down

0 comments on commit 7a16cdc

Please sign in to comment.