[MDEV-8873] Wrong field type or metadata for LEAST(int_column,string_column) Created: 2015-09-30 Updated: 2015-10-08 Resolved: 2015-10-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream | ||
| Sprint: | 10.1.8-4 |
| Description |
|
If I start "mysql --column-type-info test" and run this script:
it returns the following metadata:
That is the columns are reported to be of the VARBINARY data type. Now if I do CREATE TABLE..SELECT:
it creates double columns:
Summary:
The expected result would be to have the same data type in both cases. |
| Comments |
| Comment by Alexander Barkov [ 2015-10-01 ] |
|
Repeatable in MySQL-5.7.8 |