| 65 | }; |
| 66 | |
| 67 | std::shared_ptr<fedb::sdk::SQLRouter> GetNewSQLRouter() { |
| 68 | ::hybridse::vm::Engine::InitializeGlobalLLVM(); |
| 69 | fedb::sdk::SQLRouterOptions sql_opt; |
| 70 | sql_opt.zk_cluster = FLAGS_zk_cluster; |
| 71 | sql_opt.zk_path = FLAGS_zk_root_path; |
| 72 | sql_opt.enable_debug = true; |
| 73 | return fedb::sdk::NewClusterSQLRouter(sql_opt); |
| 74 | } |
| 75 | |
| 76 | void StartNameServer(brpc::Server& server) { //NOLINT |
| 77 | NameServerImpl* nameserver = new NameServerImpl(); |
no test coverage detected