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

Method PHXSqlProxyConfig

phxsqlproxy/phxsqlproxyconfig.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace phxsqlproxy {
22
23PHXSqlProxyConfig::PHXSqlProxyConfig(const char * filename) {
24 ReadFile(filename);
25
26 memset(&master_worker_config_, 0, sizeof(master_worker_config_));
27 memset(&slave_worker_config_, 0, sizeof(slave_worker_config_));
28}
29
30PHXSqlProxyConfig::~PHXSqlProxyConfig() {
31}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected