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

Function mainEntryClickHouseLocal

programs/local/LocalServer.cpp:714–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712#pragma GCC diagnostic ignored "-Wmissing-declarations"
713
714int mainEntryClickHouseLocal(int argc, char ** argv)
715{
716 DB::LocalServer app;
717 try
718 {
719 app.init(argc, argv);
720 return app.run();
721 }
722 catch (...)
723 {
724 std::cerr << DB::getCurrentExceptionMessage(true) << '\n';
725 auto code = DB::getCurrentExceptionCode();
726 return code ? code : 1;
727 }
728}

Callers 1

mainFunction · 0.85

Calls 4

getCurrentExceptionCodeFunction · 0.85
initMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected