#include <../iodbc/itrace.h>
#include <stdio.h>
+extern RETCODE _iodbcdm_driverunload();
+
RETCODE SQL_API SQLAllocConnect(
HENV henv,
HDBC FAR* phdbc )
UWORD fOption,
UDWORD vParam )
{
- GENV_t FAR* genv;
+/* GENV_t FAR* genv; */
DBC_t FAR* pdbc = (DBC_t FAR*)hdbc;
STMT_t FAR* pstmt;
HPROC hproc = SQL_NULL_HPROC;
UWORD fOption,
PTR pvParam )
{
- GENV_t FAR* genv;
+/* GENV_t FAR* genv; */
DBC_t FAR* pdbc = (DBC_t FAR*)hdbc;
int sqlstat = en_00000;
HPROC hproc = SQL_NULL_HPROC;
GENV_t FAR* genv = (GENV_t FAR*)henv;
DBC_t FAR* pdbc = (DBC_t FAR*)hdbc;
HERR herr;
- RETCODE retcode;
+ RETCODE retcode = 0;
if( hdbc != SQL_NULL_HDBC )
{