[ODBC-204] SQLGetData won't return empty wide string Created: 2018-11-30 Updated: 2018-11-30 Resolved: 2018-11-30 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 2.0.18, 3.0.7 |
| Fix Version/s: | 2.0.19, 3.1.0, 3.0.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If field value is empty string, SQLGetData fetches it as SQL_C_WCHAR and buffer fits null terminating character, connector still won't write that character. i.e. empty string won't be returned |
| Comments |
| Comment by Lawrin Novitsky [ 2018-11-30 ] |
|
The fix has been pushed into odbc-3.0 in commit f1e0cd2 |