[ODBC-84] Error in the SQLGetTypeInfo for WCHAR Types Created: 2017-02-21 Updated: 2017-02-23 Resolved: 2017-02-23 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | 3.0.0, 2.0.13 |
| Fix Version/s: | 2.0.14, 3.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
It can affects use of connector in dg4odbc To repeat: ODBC_TEST(t_odbc84) { CHECK_STMT_RC(Stmt, SQLGetTypeInfo(Stmt, SQL_WCHAR)); is_num(myrowcount(Stmt), 1); CHECK_STMT_RC(Stmt, SQLFreeStmt(Stmt, SQL_CLOSE)); CHECK_STMT_RC(Stmt, SQLGetTypeInfo(Stmt, SQL_WVARCHAR)); is_num(myrowcount(Stmt), 1); CHECK_STMT_RC(Stmt, SQLFreeStmt(Stmt, SQL_CLOSE)); CHECK_STMT_RC(Stmt, SQLGetTypeInfo(Stmt, SQL_WLONGVARCHAR)); is_num(myrowcount(Stmt), 1); CHECK_STMT_RC(Stmt, SQLFreeStmt(Stmt, SQL_CLOSE)); return OK; } |
| Comments |
| Comment by Lawrin Novitsky [ 2017-02-23 ] |
|
The fix and the testcase have been pushed(to odbc-2.0 only at the moment) as rev 4d2c3423b462aa9f307db125944ec54cabd72c13 |