mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-25 17:59:54 +08:00
Moved ODBC ConnectParams into struct _hdbc
So now struct _hdbc contains the real allocated data. SQLAllocConnect doesn't hack it anymore with its own stucture.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
# include <iodbcinst.h>
|
||||
#endif
|
||||
|
||||
#include "connectparams.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -40,6 +41,7 @@ struct _henv {
|
||||
};
|
||||
struct _hdbc {
|
||||
struct _henv *henv;
|
||||
ConnectParams* params;
|
||||
};
|
||||
struct _hstmt {
|
||||
struct _hdbc *hdbc;
|
||||
|
||||
Reference in New Issue
Block a user