[ODBC-375] Connector can crash, if one of queires in the batch returns error on result storing Created: 2022-11-29 Updated: 2023-03-23 Resolved: 2022-11-29 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.1.17 |
| Fix Version/s: | 3.2.0, 3.1.18 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
For example, this batch
will do this. This happens, because 2nd query prepares and executes without an error, the error occurs only on the stage of the storing of the result(because sub-query returns more than one row), and that case is not processed in the connector in case of batch of queries. |
| Comments |
| Comment by Lawrin Novitsky [ 2023-03-23 ] |
|
3.2 will behave differently on this batch., If 3.1 returns error on execution, 3.2 will execute with success, but SQLMoreResults will return error(on move to result of erroneous statement in the batch) |