| 712 | #pragma GCC diagnostic ignored "-Wmissing-declarations" |
| 713 | |
| 714 | int 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 | } |
no test coverage detected