[MDEV-12503] Inconsistent behavior when mixing ENUM+GEOMETRY for functions vs UNION Created: 2017-04-14 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.3 |
| 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 |
|
Mixing ENUM and GEOMETRY in hybrid functions creates a LONGBLOB column:
Mixing ENUM and GEOMETRY for UNION returns an error:
It would be nice to have consistent behavior. The problem is that hybrid functions and UNION treat arguments differently:
Perhaps hybrid functions should be fixed to operate in terms of real field type. |