[ODBC-365] Length is not returned for SQL_C_WCHAR on SQLFetch if data buffer is NULL Created: 2022-06-13 Updated: 2022-06-13 Resolved: 2022-06-13 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.16 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If application only wants to know the length of WCHAR data in the column(and not the data itself), the driver returns 0 |
| Comments |
| Comment by Lawrin Novitsky [ 2022-06-13 ] |
|
The fix only has been pushed(the testcase for If application wanted to know length of wchar data(to allocate the buffer |