mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-25 17:59:54 +08:00
ODBC memory management
Check proper closure sequence of Statements/Connections/Env SQLDisconnect now closes automatically all attached statements.
This commit is contained in:
@@ -37,11 +37,13 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
struct _henv {
|
||||
MdbSQL *sql;
|
||||
MdbSQL *sql;
|
||||
GPtrArray *connections;
|
||||
};
|
||||
struct _hdbc {
|
||||
struct _henv *henv;
|
||||
ConnectParams* params;
|
||||
GPtrArray *statements;
|
||||
};
|
||||
struct _hstmt {
|
||||
struct _hdbc *hdbc;
|
||||
|
||||
Reference in New Issue
Block a user