[MDEV-23435] Functions do not convert numbers to character_set_results Created: 2020-08-09 Updated: 2020-10-06 Resolved: 2020-08-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Protocol |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.5.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Fields of the numeric and temporal data types convert to character_set_results, while functions do not: This is bad when character_set_results is set to character sets like UCS2, UTF16, UTF32, as well as filename.
Notice, the field converted its value to 'filename', while the function did not. The same problem is repeatable with INT (and also with TINYINT, SHORTINT, MEDIUMINT, BIGINT):
|