| 304 | } |
| 305 | |
| 306 | bool PhxBinlogClient::EncodeBinLogBuffer(const string &old_gtid, const string &new_gtid, const string &eventbuffer, |
| 307 | string *encode_buffer) { |
| 308 | phxbinlogsvr::BinLogBuffer binlogbuffer; |
| 309 | binlogbuffer.set_oldgtid(old_gtid); |
| 310 | binlogbuffer.set_newgtid(new_gtid); |
| 311 | binlogbuffer.set_eventbuffer(eventbuffer); |
| 312 | |
| 313 | return binlogbuffer.SerializeToString(encode_buffer); |
| 314 | } |
| 315 | |
| 316 | bool PhxBinlogClient::EncodeExportIPInfo(const string &ip, const uint32_t &port, string *encode_buffer) { |
| 317 | phxbinlogsvr::ExportIPInfo export_ipinfo; |
nothing calls this directly
no outgoing calls
no test coverage detected