MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / mainEntryClickHouseKeeper

Function mainEntryClickHouseKeeper

programs/keeper/Keeper.cpp:76–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75int mainEntryClickHouseKeeper(int argc, char ** argv);
76int mainEntryClickHouseKeeper(int argc, char ** argv)
77{
78 DB::Keeper app;
79
80 try
81 {
82 return app.run(argc, argv);
83 }
84 catch (...)
85 {
86 std::cerr << DB::getCurrentExceptionMessage(true) << "\n";
87 auto code = DB::getCurrentExceptionCode();
88 return static_cast<UInt8>(code) ? code : 1;
89 }
90}
91
92namespace DB
93{

Callers

nothing calls this directly

Calls 3

getCurrentExceptionCodeFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected