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

Method ReadConfig

phxbinlogsvr/config/phxsql_config.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void PhxMySqlConfig::ReadConfig() {
41 mysql_port_ = GetInteger("mysqld", "port", 4306);
42 mysql_socket_ = Get("mysqld", "socket", "");
43 phxsql::LogVerbose("%s read mysql port %d", __func__, mysql_port_);
44}
45
46}
47

Callers

nothing calls this directly

Calls 1

LogVerboseFunction · 0.85

Tested by

no test coverage detected