Changeset: c7562aa80d8d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c7562aa80d8d
Branch: default
Log Message:

Merge with Oct2020 branch.


diffs (14 lines):

diff --git a/clients/odbc/driver/SQLGetTypeInfo.c 
b/clients/odbc/driver/SQLGetTypeInfo.c
--- a/clients/odbc/driver/SQLGetTypeInfo.c
+++ b/clients/odbc/driver/SQLGetTypeInfo.c
@@ -1148,6 +1148,10 @@ MNDBGetTypeInfo(ODBCStmt *stmt,
                assert(t == types || t->data_type >= (t-1)->data_type);
                if (DataType != SQL_ALL_TYPES && DataType != t->data_type)
                        continue;
+               if (DataType == SQL_ALL_TYPES &&
+                   t->data_type == SQL_HUGEINT &&
+                   !stmt->Dbc->allow_hugeint)
+                       continue;
                if (first) {
                        /* specify column types in first set of values */
                        i += snprintf(query + i, sizeof(query) - i,
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to