[MDEV-16325] CREATE..SELECT..UNION creates a wrong field type for old varchar Created: 2018-05-30 Updated: 2019-11-18 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | Data type cleanups |
| Description |
|
I create this test file:
Now I run this test and it produces the following output:
Notice:
Note, if I replace copying of vchar.frm (the old VARCHAR) to a normal CREATE like this:
and return the test, it correctly creates VARCHAR in all queries. |