Changeset: d08edd5b8bce for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d08edd5b8bce
Modified Files:
        clients/odbc/tests/ODBCStmtAttr.c
        clients/odbc/tests/ODBCgetInfo.c
        clients/odbc/tests/ODBCmetadata.c
        clients/odbc/tests/ODBCtester.c
Branch: default
Log Message:

In the ODBC test programs set the ODBC API version 3.52 we want to test.


diffs (61 lines):

diff --git a/clients/odbc/tests/ODBCStmtAttr.c 
b/clients/odbc/tests/ODBCStmtAttr.c
--- a/clients/odbc/tests/ODBCStmtAttr.c
+++ b/clients/odbc/tests/ODBCStmtAttr.c
@@ -17,6 +17,9 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <string.h>
+
+/**** Define the ODBC Version our ODBC driver complies with ****/
+#define ODBCVER 0x0352         /* Important: this must be defined before 
include of sql.h and sqlext.h */
 #include <sql.h>
 #include <sqlext.h>
 
diff --git a/clients/odbc/tests/ODBCgetInfo.c b/clients/odbc/tests/ODBCgetInfo.c
--- a/clients/odbc/tests/ODBCgetInfo.c
+++ b/clients/odbc/tests/ODBCgetInfo.c
@@ -19,10 +19,8 @@
 #include <stdbool.h>
 #include <string.h>
 
-/**** Define the ODBC Version this ODBC driver complies with ****/
-/* also see ODBCGlobal.h */
+/**** Define the ODBC Version our ODBC driver complies with ****/
 #define ODBCVER 0x0352         /* Important: this must be defined before 
include of sqlext.h */
-
 #include <sql.h>
 #include <sqlext.h>
 
diff --git a/clients/odbc/tests/ODBCmetadata.c 
b/clients/odbc/tests/ODBCmetadata.c
--- a/clients/odbc/tests/ODBCmetadata.c
+++ b/clients/odbc/tests/ODBCmetadata.c
@@ -36,6 +36,8 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <inttypes.h>
+
+/**** Define the ODBC Version our ODBC driver complies with ****/
 #define ODBCVER 0x0352         /* Important: this must be defined before 
include of sql.h and sqlext.h */
 #include <sql.h>
 #include <sqlext.h>
diff --git a/clients/odbc/tests/ODBCtester.c b/clients/odbc/tests/ODBCtester.c
--- a/clients/odbc/tests/ODBCtester.c
+++ b/clients/odbc/tests/ODBCtester.c
@@ -17,12 +17,15 @@
 #include <stdlib.h>
 #include <stdint.h>
 #include <string.h>
-#include <sql.h>
-#include <sqlext.h>
 #include <ctype.h>
 #include <inttypes.h>
 #include <wchar.h>
 
+/**** Define the ODBC Version our ODBC driver complies with ****/
+#define ODBCVER 0x0352         /* Important: this must be defined before 
include of sql.h and sqlext.h */
+#include <sql.h>
+#include <sqlext.h>
+
 static void
 prerr(SQLSMALLINT tpe, SQLHANDLE hnd, const char *func, const char *pref)
 {
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to