Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/dbspecific.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#define SQL_DB2_DECFLOAT -360 // IBM DB/2 DECFLOAT type
#define SQL_DB2_XML -370 // IBM DB/2 XML type
#define SQL_SS_TIME2 -154 // SQL Server 2008 time type
#define SQL_INFX_BIGINT -114 // IBM Informix BIGINT type
#define SQL_INFX_UDT_BLOB -102 // IBM Informix BLOB type
#define SQL_INFX_UDT_CLOB -103 // IBM Informix CLOB type

struct SQL_SS_TIME2_STRUCT
{
Expand Down
2 changes: 2 additions & 0 deletions src/getdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ PyObject* GetData(Cursor* cur, Py_ssize_t iCol)
case SQL_BINARY:
case SQL_VARBINARY:
case SQL_LONGVARBINARY:
case SQL_INFX_UDT_BLOB:
return GetBinary(cur, iCol);

case SQL_DECIMAL:
Expand All @@ -741,6 +742,7 @@ PyObject* GetData(Cursor* cur, Py_ssize_t iCol)
return GetDataLong(cur, iCol);

case SQL_BIGINT:
case SQL_INFX_BIGINT:
return GetDataLongLong(cur, iCol);

case SQL_REAL:
Expand Down
Loading
Loading