[CONCPP-51] Connector crashes on use of a Statement created by deleted Connection object Created: 2020-11-18 Updated: 2020-11-23 Resolved: 2020-11-23 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C++ |
| Component/s: | General |
| Affects Version/s: | 0.9.3 |
| Fix Version/s: | 0.9.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The same happens if execute prepared query after deleting Connection object it was prepared on. |
| Comments |
| Comment by Lawrin Novitsky [ 2020-11-19 ] |
|
Closing it so far, as the exact issue has been fixed, but I suspect similar problem may be found with PS. I'll re-open this, of open a new ticket. |
| Comment by Lawrin Novitsky [ 2020-11-20 ] |
|
Connector also crashes if execute prepared query after deleting Connection object it was prepared on. Basically, the same reason. |
| Comment by Lawrin Novitsky [ 2020-11-23 ] |
|
2nd part of the fix/test comes in the commit c6294e6 |