Skip to content

Commit

Permalink
Introduce Position::resetPendingGTID()
Browse files Browse the repository at this point in the history
  • Loading branch information
valbok committed Nov 29, 2023
1 parent 9e82b61 commit d503eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/MySQL/MySQLReplication.h
Expand Up @@ -528,6 +528,7 @@ namespace MySQLReplication
void update(BinlogEventPtr event);
void update(UInt64 binlog_pos_, const String & binlog_name_, const String & gtid_sets_, UInt32 binlog_time_);
void dump(WriteBuffer & out) const;
void resetPendingGTID() { pending_gtid.reset(); }

private:
std::optional<GTID> pending_gtid;
Expand Down

0 comments on commit d503eec

Please sign in to comment.