mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Debian patch 092-odbc-close-connections
This commit is contained in:
@@ -711,7 +711,15 @@ SQLRETURN SQL_API SQLColAttributes(
|
||||
SQLRETURN SQL_API SQLDisconnect(
|
||||
SQLHDBC hdbc)
|
||||
{
|
||||
struct _hdbc *dbc;
|
||||
struct _henv *env;
|
||||
|
||||
TRACE("SQLDisconnect");
|
||||
|
||||
dbc = (struct _hdbc *) hdbc;
|
||||
env = (struct _henv *) dbc->henv;
|
||||
mdb_sql_close(env->sql);
|
||||
|
||||
return SQL_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user