Changeset: d3b68582b24c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d3b68582b24c
Modified Files:
        gdk/gdk_logger.c
        gdk/gdk_logger_internals.h
        gdk/gdk_logger_old.c
Branch: logger-fix
Log Message:

merged with Sep2022


diffs (31 lines):

diff --git a/sql/backends/monet5/sql_result.c b/sql/backends/monet5/sql_result.c
--- a/sql/backends/monet5/sql_result.c
+++ b/sql/backends/monet5/sql_result.c
@@ -1962,7 +1962,7 @@ mvc_export_result(backend *b, stream *s,
                b->results = res_tables_remove(b->results, t);
 
        if (res > -1)
-               res = mvc_export_warning(s, "");
+               res = 1;
        return res;
 }
 
diff --git a/sql/odbc/tests/Tests/All b/sql/odbc/tests/Tests/All
--- a/sql/odbc/tests/Tests/All
+++ b/sql/odbc/tests/Tests/All
@@ -1,3 +1,4 @@
 HAVE_ODBC?ODBCgetInfo
 HAVE_ODBC?ODBCmetadata
 HAVE_ODBC?ODBCStmtAttr
+HAVE_PYODBC?pyodbc-test
diff --git a/sql/odbc/tests/Tests/pyodbc-test.SQL.py 
b/sql/odbc/tests/Tests/pyodbc-test.SQL.py
new file mode 100644
--- /dev/null
+++ b/sql/odbc/tests/Tests/pyodbc-test.SQL.py
@@ -0,0 +1,6 @@
+import pyodbc
+
+cnxn = pyodbc.connect('DSN=MonetDB-Test')
+crs = cnxn.cursor()
+crs.executemany("""select *, cast(? as string), cast(? as integer) from 
sys._tables;""", [ ('test', 1), ('test2', 2) ])
+data = crs.fetchall()
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to