| 28 | namespace phxbinlog { |
| 29 | |
| 30 | int MonitorComm::GetMySQLMaxGTIDList(const Option *option, const string >id_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, >id_pos, query_ip); |
| 34 | if (ret) |
| 35 | return ret; |
| 36 | return ParseMaxGTIDList(option, gtid_pos, gtid_list); |
| 37 | } |
| 38 | |
| 39 | int MonitorComm::ParseMaxGTIDList(const Option *option, const string >id_str, vector<string> *gtid_list) { |
| 40 | string val = ""; |