[ODBC-43] When string parameter bound as date/time sql type, overflow errors are not detected Created: 2016-06-07 Updated: 2018-11-12 Resolved: 2018-11-09 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.7, 2.0.19, 3.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
e.g. SQL_TYPE_TIME should not have second fractions, or SQL_TYPE_DATE should not contain time values. Connector supposed to return error and 22008 state(Datetime field overflow). |