[MDEV-12681] Wrong VIEW results for CHAR(0xDF USING latin1) Created: 2017-05-04 Updated: 2017-11-15 Resolved: 2017-11-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.0.34, 10.1.30, 10.2.11, 10.3.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In Linux console, I run
Notice, it correctly returned LATIN SMALL LETTER SHARP S. Now I put the same expression into a view and query the view:
Notice, it returned some garbage (Linux console changed garbage to U+FFFD REPLACEMENT CHARACTER). The problem is that Item_func_char::print() does not display the USING clause:
Notice, it prints:
It should print:
|