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

Method main

programs/benchmark/Benchmark.cpp:221–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220
221 int main(const std::vector<std::string> &) override
222 {
223 try
224 {
225 readQueries();
226 runBenchmark();
227 return 0;
228 }
229 catch (...)
230 {
231 log << getCurrentExceptionMessage(print_stacktrace, true) << '\n';
232 auto code = getCurrentExceptionCode();
233 return static_cast<UInt8>(code) ? code : 1;
234 }
235 }
236
237private:
238 using Entry = ConnectionPool::Entry;

Callers

nothing calls this directly

Calls 2

getCurrentExceptionCodeFunction · 0.85

Tested by

no test coverage detected