From 2436485e9b30102f66af6502fa022edfd21cff9f Mon Sep 17 00:00:00 2001 From: freemine Date: Sat, 17 Oct 2020 06:25:17 +0800 Subject: [PATCH] test case: with user-provided type other than table field type --- src/connector/odbc/tests/odbc.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/connector/odbc/tests/odbc.py b/src/connector/odbc/tests/odbc.py index 61ad4f4379..02ac975776 100644 --- a/src/connector/odbc/tests/odbc.py +++ b/src/connector/odbc/tests/odbc.py @@ -113,3 +113,11 @@ while row: row = cursor.fetchone() cursor.close() +cursor = cnxn.cursor() +cursor.execute("SELECT * from db.v where v1 > ?", '5') +row = cursor.fetchone() +while row: + print(row) + row = cursor.fetchone() +cursor.close() + -- GitLab