MCPcopy Create free account
hub / github.com/Tencent/phxsql / GetMySQLMaxGTIDList

Method GetMySQLMaxGTIDList

phxbinlogsvr/core/monitor/base/monitor_comm.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace phxbinlog {
29
30int MonitorComm::GetMySQLMaxGTIDList(const Option *option, const string &gtid_str, vector<string> *gtid_list,
31 const string &query_ip) {
32 string gtid_pos;
33 int ret = MySqlManager::GetGlobalMySqlManager(option)->GetValue("global variables", gtid_str, &gtid_pos, query_ip);
34 if (ret)
35 return ret;
36 return ParseMaxGTIDList(option, gtid_pos, gtid_list);
37}
38
39int MonitorComm::ParseMaxGTIDList(const Option *option, const string &gtid_str, vector<string> *gtid_list) {
40 string val = "";

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected