[MDEV-5880] Inconsistent field flags for int_field and COALESCE(int_field) Created: 2014-03-17 Updated: 2022-09-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.36, 10.0.9 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Run "mysql --column-type-info test" and execute this script:
The output is:
Notice, "Flags" is NUM for the field, but "BINARY NUM" for the function. It should be fixed to return the same flag sets. |