branch | v_0 |
changeset 37 | 3de41719d7eb |
parent 36 | 91cb012d779a |
child 38 | a871779a4e3c |
--- a/src/Connection.cpp Sun May 31 16:56:07 2020 +0200 +++ b/src/Connection.cpp Sun May 31 21:20:24 2020 +0200 @@ -34,7 +34,7 @@ Connection::~Connection() { SQLRETURN result = SQLDisconnect(connection); - // FIXME: nevyhazovat výjimky z destruktorů + // FIXME: do not throw exception from destructor if (OdbcCommon::isNotSuccessful(result)) throw SqlException(L"Unable to disconnect: " + std::to_wstring(result)); OdbcCommon::freeHandle(SQL_HANDLE_DBC, connection); }