[CONCPP-16] Several functions aren't returning anything when they should Created: 2020-06-29 Updated: 2020-07-27 Resolved: 2020-07-27 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C++ |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | 0.9.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The following functions state they return something, but it is possible for the function to end returning nothing: 1. MariaDbStatement::executeInternal |
| Comments |
| Comment by Lawrin Novitsky [ 2020-07-27 ] |
|
Basically, they all returned or threw. There rather was some code, that was never executed. And in some cases it could cause memory leaks, and maybe other errors, too. |