mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 07:05:33 +02:00
MDEV-19776: Assertion `to_len >= 8' failed in convert_to_printable with optimizer trace enabled
Introduced the convert_to_printable_required_length to return the correct length(taking into consideration of dots in the case of error messages).
This commit is contained in:
parent
cfbd714868
commit
8b576616b4
5 changed files with 25 additions and 1 deletions
|
|
@ -126,6 +126,7 @@ size_t my_copy_with_hex_escaping(CHARSET_INFO *cs,
|
|||
uint convert_to_printable(char *to, size_t to_len,
|
||||
const char *from, size_t from_len,
|
||||
CHARSET_INFO *from_cs, size_t nbytes= 0);
|
||||
size_t convert_to_printable_required_length(uint len);
|
||||
|
||||
|
||||
class Charset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue