FirebirdSQL/firebird-odbc-driver

CLONE -SQLGetTypeInfo missing rows for unicode data types [ODBC129]

firebird-automations opened this issue · 7 comments

Submitted by: faridz (faridz)

Attachments:
sqlgettypeinfo.jpg
OdbcFb_x64.zip

SQLGetTypeInfo does not return a row for any of the following supported Firebird data types:

SQL_WCHAR -> CHAR(x) CHARACTER SET UNICODE_FSS
SQL_WVARCHAR -> VARCHAR(x) CHARACTER SET UNICODE_FSS
SQL_WLONGVARCHAR -> BLOB SUB_TYPE TEXT
SQL_TINYINT -> SMALLINT

Commits: deab907 b8ff646

Commented by: faridz (faridz)

I now get rows for these types but funny characters for type name and local type names on x64 ansi application and success with info
Success With Info. Native Code: 0, SQLState: 01004, Return Code: 1
[ODBC Firebird Driver]Data truncated

Since driver reports the result column 'type' as size as 33

See attached screenshot

Modified by: faridz (faridz)

Attachment: sqlgettypeinfo.jpg [ 11980 ]

Commented by: @alexpotapchenko

Yes, the problem is exists. The attached x64 driver for testing.

Modified by: @alexpotapchenko

Attachment: OdbcFb_x64.zip [ 11981 ]

Commented by: faridz (faridz)

Verified fix with attached x64 dll. Works fine now. Thanks.

Modified by: @alexpotapchenko

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.0.1 [ 10430 ]

Fix Version: 2.0 [ 10044 ] =>

Modified by: @alexpotapchenko

status: Resolved [ 5 ] => Closed [ 6 ]