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:
Nirgal Vourgère
2013-07-03 13:39:08 +02:00
parent eefddaffcc
commit aac9c61536
2 changed files with 8 additions and 17 deletions

View File

@@ -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;