mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
18 lines
401 B
C++
18 lines
401 B
C++
#include "ODBCBridge.h"
|
|
|
|
#pragma GCC diagnostic ignored "-Wmissing-declarations"
|
|
int mainEntryClickHouseODBCBridge(int argc, char ** argv)
|
|
{
|
|
DB::ODBCBridge app;
|
|
try
|
|
{
|
|
return app.run(argc, argv);
|
|
}
|
|
catch (...)
|
|
{
|
|
std::cerr << DB::getCurrentExceptionMessage(true) << "\n";
|
|
auto code = DB::getCurrentExceptionCode();
|
|
return code ? code : 1;
|
|
}
|
|
}
|