| 204 | #pragma GCC diagnostic ignored "-Wmissing-declarations" |
| 205 | |
| 206 | int mainEntryClickHouseClusterCopier(int argc, char ** argv) |
| 207 | { |
| 208 | try |
| 209 | { |
| 210 | DB::ClusterCopierApp app; |
| 211 | return app.run(argc, argv); |
| 212 | } |
| 213 | catch (...) |
| 214 | { |
| 215 | std::cerr << DB::getCurrentExceptionMessage(true) << "\n"; |
| 216 | auto code = DB::getCurrentExceptionCode(); |
| 217 | |
| 218 | return (code) ? code : -1; |
| 219 | } |
| 220 | } |
no test coverage detected