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

Method ToString

phxsqlclient/include/phxsqlclientbase.h:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 std::string m_sMySQLIP;
26 int32_t m_iPort;
27 std::string ToString() {
28 char sBuf[64] = { 0 };
29 snprintf(sBuf, sizeof(sBuf), "%s:%u", m_sMySQLIP.c_str(), m_iPort);
30 return std::string(sBuf);
31 }
32 std::string ToString() const {
33 return ((tagMySQLEndPoint *) this)->ToString();
34 }

Callers 5

GetEndPointMethod · 0.80
ReportEndPointMethod · 0.80
CompareMethod · 0.80
OpenDBMethod · 0.80
GetGTIDIndexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected