MCPcopy Create free account
hub / github.com/ByConity/ByConity / mainEntryClickHouseClusterCopier

Function mainEntryClickHouseClusterCopier

programs/copier/ClusterCopierApp.cpp:206–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204#pragma GCC diagnostic ignored "-Wmissing-declarations"
205
206int mainEntryClickHouseClusterCopier(int argc, char ** argv)
207{
208 try
209 {
210 DB::ClusterCopierApp app;
211 return app.run(argc, argv);
212 }
213 catch (...)
214 {
215 std::cerr << DB::getCurrentExceptionMessage(true) << "\n";
216 auto code = DB::getCurrentExceptionCode();
217
218 return (code) ? code : -1;
219 }
220}

Callers 1

mainFunction · 0.85

Calls 3

getCurrentExceptionCodeFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected