|
|
| version 1.2, 2001/07/25 12:46:45 | version 1.3, 2001/08/24 07:04:25 |
|---|---|
| Line 74 public: | Line 74 public: |
| *(CDatabase **)connection=db; | *(CDatabase **)connection=db; |
| } | } |
| void disconnect(SQL_Driver_services& services, void *connection) { | void disconnect(void *connection) { |
| CDatabase *db=static_cast<CDatabase *>(connection); | CDatabase *db=static_cast<CDatabase *>(connection); |
| TRY | TRY |
| delete db; | delete db; |
| CATCH_ALL (e) { | CATCH_ALL (e) { |
| _throw(services, e); | // nothing |
| } | } |
| END_CATCH_ALL | END_CATCH_ALL |
| } | } |