[MDEV-6666] Malformed result for CONCAT(utf8_column, binary_string) Created: 2014-08-30 Updated: 2015-01-17 Resolved: 2014-09-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.38, 10.0.13 |
| Fix Version/s: | 10.0.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This script:
returns a badly formed result:
Notice, character set of the result is utf8, but the returned string The correct behaviour would be to return an error, as 0xFF is a bad utf8 string. A similar problem happens with UNION:
returns:
The correct behaviour would be to return an error. |