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

Method ReadSqlProxyMonitorConfig

phxcomm/ossconfig/phxsql_oss_config.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void PhxSQLOssConfig::ReadSqlProxyMonitorConfig() {
38 sql_proxy_svrkit_ossid_ = GetInteger("phxsqlproxy", "SvrkitOssAttrID", 0);
39 sql_proxy_masterport_logic_ossid_ = GetInteger("phxsqlproxy", "MasterPortLogicOssAttrID", 0);
40 sql_proxy_slaveport_logic_ossid_ = GetInteger("phxsqlproxy", "SlavePortLogicOssAttrID", 0);
41}
42
43void PhxSQLOssConfig::ReadMysqlMonitorConfig() {
44 mysql_ossid_ = GetInteger("mysql", "SvrkitOssAttrID", 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected