[MDEV-8844] Unreadable control characters printed as is in warnings Created: 2015-09-25 Updated: 2020-03-16 Resolved: 2019-12-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.5.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 10.1.10, 10.1.11 |
| Description |
|
returns this warning:
Notice, the unreadable control character 0x01 is printed as is. It should be escaped. |
| Comments |
| Comment by Alexander Barkov [ 2019-12-05 ] | ||||||||
|
Hi julien.fritsch, I need to adjust the patch to the latest sources first. | ||||||||
| Comment by Alexander Barkov [ 2019-12-06 ] | ||||||||
|
As of version 10.5 the warning is better, but still not correct:
Notice, it breaks on the byte 0x00 and does not display the rest of the string. | ||||||||
| Comment by Alexander Barkov [ 2019-12-06 ] | ||||||||
|
Control characters \t \r \n are displayed as is, which makes the output look not nice:
This can be fixed later, if needed, in a separate MDEV. |