[CONCPP-37] Inconcistency in getters results for DATE types field between text(statement) and binary(prepared statement) resultsets Created: 2020-09-20 Updated: 2020-09-25 Resolved: 2020-09-25 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C++ |
| Component/s: | General |
| Affects Version/s: | None |
| 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 |
|
Numeric getters return year or hour value for date/time types for text resultsets, and throw exception that conversion is impossible, for binary resultsets. I am not sure what is better here, but behavior should be similar . Exception looks a bit more natural here. |
| Comments |
| Comment by Lawrin Novitsky [ 2020-09-25 ] |
|
Commit 11183f3 |