]> git.saurik.com Git - wxWidgets.git/blobdiff - src/iodbc/hdbc.c
Added OLE automation sample, changed BC++ makefiles
[wxWidgets.git] / src / iodbc / hdbc.c
index 710a9b558abbd0f149da60684502b0276b61e47d..7157480dd1a1a56917bb43de58cb4a4491cf54b4 100644 (file)
@@ -28,6 +28,8 @@
 #include       <../iodbc/itrace.h>
 #include       <stdio.h>
 
 #include       <../iodbc/itrace.h>
 #include       <stdio.h>
 
+extern RETCODE _iodbcdm_driverunload();
+
 RETCODE SQL_API        SQLAllocConnect( 
                        HENV            henv,
                        HDBC FAR*       phdbc )
 RETCODE SQL_API        SQLAllocConnect( 
                        HENV            henv,
                        HDBC FAR*       phdbc )
@@ -156,7 +158,7 @@ RETCODE SQL_API     SQLSetConnectOption(
                        UWORD   fOption,
                        UDWORD  vParam )
 {
                        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;
        DBC_t  FAR*     pdbc    = (DBC_t FAR*)hdbc;
        STMT_t FAR*     pstmt;
        HPROC           hproc   = SQL_NULL_HPROC;
@@ -496,7 +498,7 @@ RETCODE SQL_API     SQLGetConnectOption(
                        UWORD   fOption,
                        PTR     pvParam )
 {
                        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;
        DBC_t  FAR*     pdbc = (DBC_t FAR*)hdbc;
        int             sqlstat = en_00000;
        HPROC           hproc   = SQL_NULL_HPROC;
@@ -755,7 +757,7 @@ RETCODE     SQL_API SQLTransact(
        GENV_t FAR*     genv    = (GENV_t FAR*)henv;
        DBC_t  FAR*     pdbc    = (DBC_t FAR*)hdbc;
        HERR            herr;
        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 )
        {
 
        if( hdbc != SQL_NULL_HDBC )
        {