[ODBC-155] SQLDescribeCol returns 0 for decimal digits for datetime types with microseconds Created: 2018-07-02 Updated: 2020-08-25 Resolved: 2018-07-02 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 2.0.17, 3.0.5 |
| Fix Version/s: | 3.0.6, 2.0.18 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lawrin Novitsky | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
https://docs.microsoft.com/en-us/sql/odbc/reference/appendixes/decimal-digits?view=sql-server-2017 says, that "All datetime types except SQL_TYPE_DATE, and all interval types with a seconds component" it has to be "The number of digits to the right of the decimal point in the seconds part of the value (fractional seconds)" |
| Comments |
| Comment by Lawrin Novitsky [ 2018-07-02 ] |
|
The fix and the testcase have been pushed into odbc-3.0 as da0c41c |