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

Method SetMySQLEndPoints

phxsqlclient/phxsqlclientbase.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void PhxSQLClientConfig::SetMySQLEndPoints(const std::vector<MySQLEndPoint_t> & vecEndPoints) {
39 m_vecMySQLEndPoint.clear();
40 for (auto & itr : vecEndPoints) {
41 m_vecMySQLEndPoint.push_back(itr);
42 }
43}
44
45void PhxSQLClientConfig::ResetEndPoints() {
46 m_vecMySQLEndPoint.clear();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected