Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.0.17, 3.0.5
-
None
Description
To repeat.
OK_SIMPLE_STMT(Stmt, "SELECT cast('123456789.5678' as decimal(20,4))");
CHECK_STMT_RC(Stmt, SQLColAttribute(Stmt, 1, SQL_COLUMN_DISPLAY_SIZE, NULL, 0, NULL, &Size));
/* 20(precision) + sign + decimal point */
is_num(Size, 22);
For some reason connector erroneously returned constant value for decimal types.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
issue.field.resolutiondate | 2018-07-24 17:39:34.0 | 2018-07-24 17:39:34.786 |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 88563 ] | MariaDB v4 [ 135478 ] |