mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-8844 Unreadable control characters printed as is in warnings
This commit is contained in:
@ -524,6 +524,15 @@ public:
|
||||
bool copy(const char *s, size_t arg_length); // Allocate new string
|
||||
bool copy_or_move(const char *s,size_t arg_length);
|
||||
|
||||
/**
|
||||
Convert a string to a printable format.
|
||||
All non-convertable and control characters are replaced to 5-character
|
||||
sequences '\hhhh'.
|
||||
*/
|
||||
bool copy_printable_hhhh(CHARSET_INFO *to_cs,
|
||||
CHARSET_INFO *from_cs,
|
||||
const char *from, uint32 from_length);
|
||||
|
||||
bool append_ulonglong(ulonglong val);
|
||||
bool append_longlong(longlong val);
|
||||
|
||||
|
Reference in New Issue
Block a user