--- parser3/src/sql/odbc/Attic/parser3odbc.C 2001/07/25 12:46:45 1.2 +++ parser3/src/sql/odbc/Attic/parser3odbc.C 2001/09/05 09:22:45 1.5 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: parser3odbc.C,v 1.2 2001/07/25 12:46:45 parser Exp $"; +static const char *RCSId="$Id: parser3odbc.C,v 1.5 2001/09/05 09:22:45 parser Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -74,12 +74,12 @@ public: *(CDatabase **)connection=db; } - void disconnect(SQL_Driver_services& services, void *connection) { + void disconnect(void *connection) { CDatabase *db=static_cast(connection); TRY delete db; CATCH_ALL (e) { - _throw(services, e); + // nothing } END_CATCH_ALL } @@ -207,6 +207,6 @@ public: }; -extern "C" SQL_Driver *create() { +extern "C" SQL_Driver *SQL_DRIVER_CREATE() { return new ODBC_Driver(); } \ No newline at end of file