[CONCPP-6] getParameterCount() in ParameterMetaData throws if query isn't parametrized Created: 2020-04-12 Updated: 2020-04-12 Resolved: 2020-04-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C++ |
| Component/s: | General |
| Affects Version/s: | 0.9.1 |
| Fix Version/s: | 0.9.2 |
| 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 |
|
Should simply return 0. Also getParameterMetaData does not throw, if prepared statement is already closed. |
| Comments |
| Comment by Lawrin Novitsky [ 2020-04-12 ] |
|
The fix and the testcase has been pushed in the commit 7bc285c |