[MDEV-12869] Wrong metadata for integer additive and multiplicative operators Created: 2017-05-22 Updated: 2017-05-23 Resolved: 2017-05-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | datatype | ||
| Description |
|
I start mysql --column-type-info test and execute this script:
It reports the following metadata:
However, if I do:
It creates INT(3):
Metadata should be fixed to match the real column type created on CREATE..SELECT. The same problem is repeatable for all Item_func_numhybrid descendants:
|
| Comments |
| Comment by Alexander Barkov [ 2017-05-23 ] |
|
Pushed into bb-10.2-ext |