[MDEV-6569] CAST(binary AS CHAR(N)) can create a malformed result Created: 2014-08-13 Updated: 2022-11-03 Resolved: 2022-11-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 5.3.12, 5.5.39, 10.0.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
CAST from BINARY to CHAR does not check wel-formedness:
The expected result would be to replace bad bytes to question |
| Comments |
| Comment by Sergei Golubchik [ 2022-11-03 ] |
|
fixed before 10.3.37 |