[MDEV-20332] Wrong UNSIGNED metadata flag returned for COALESCE(unsigned_field,timestamp_field) Created: 2019-08-12 Updated: 2019-08-12 Resolved: 2019-08-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.5.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I run this command
and execute the following script:
Note, in prints the UNSIGNED flag, although this flag is not applicable to VAR_STRING. Note, this script correctly creates a column of the VARCHAR data type without any UNSIGNED flags:
Result field metadata should be fixed to match the column type created in CREATE..SELECT. |