[ODBC-203] Empty results if executing mutliple selects in a batch Created: 2018-11-28 Updated: 2018-12-02 Resolved: 2018-12-02 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.0.7 |
| Fix Version/s: | 2.0.19, 3.1.0, 3.0.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Patrick Dudziak | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Server: FreeBSD 11.2 , MariaDB 10.3.10 Client: Windows 10, ODBC 3.0.7 |
||
| Issue Links: |
|
||||||||
| Description |
|
This issue sadly still presists. The rowcount is now correct, but the content is still empty. To clarify in case 3/4 if the table contains numerical values it works, but the results return empty strings for strings and text. Same for the last two cases, the results are empty for strings/text and numerical values cause a FormatException. I see that the commit https://github.com/MariaDB/mariadb-connector-odbc/commit/bfb78c0 checks the for the correct rowcount but not the content. Any ideas what could be causing this? |
| Comments |
| Comment by Lawrin Novitsky [ 2018-11-28 ] |
|
Hello and thanks for the report. p.s. But you are right, It's probably better to add values check to the testcase |
| Comment by Patrick Dudziak [ 2018-11-28 ] |
|
Yes, i am talking about the exact same cases as described in For the last 2 cases from Maybe test with VARCHAR/TEXT/BLOB the content of the fields. Thank you for your fast reponse. |
| Comment by Lawrin Novitsky [ 2018-11-28 ] |
|
Well, the testcase already has the varchar field, and it's not empty either. And correct values are returned. |
| Comment by Lawrin Novitsky [ 2018-11-30 ] |
|
Ok, I will verify everything once again, but looks like fetching data as wide strings makes difference here. That is strange, atm I can't imagine how that can cause that. But will see. |
| Comment by Lawrin Novitsky [ 2018-12-02 ] |
|
The fix has been pushed to odbc-3.0 in commit 20e0a50 |
| Comment by Lawrin Novitsky [ 2018-12-02 ] |
|
The fix does not care about FormatException for numeric fields problem, but looking at the traces for last 2 cases in |