| 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 | |
| 237 | private: |
| 238 | using Entry = ConnectionPool::Entry; |
nothing calls this directly
no test coverage detected