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

Function InitPhxsqlPlugins

phxsqlproxy/phxsqlproxymain_phxrpc.cpp:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42using namespace phxsql;
43
44void InitPhxsqlPlugins() {
45 phxbinlogsvr::PhxBinlogClientPlatformInfo::GetDefault()->RegisterClientFactory(new PhxBinlogClientFactory_PhxRPC());
46 phxsql::ResigterLogFunc(phxsql::PhxGLog::Log);
47 phxrpc::setvlog(phxsql::PhxGLog::Log);
48}
49
50void InitProxyPlugins() {
51 //monitor plugin initialization

Callers 1

mainFunction · 0.85

Calls 2

ResigterLogFuncFunction · 0.85
RegisterClientFactoryMethod · 0.80

Tested by

no test coverage detected