summaryrefslogtreecommitdiff
path: root/libservices/debug_sync_service.c
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2021-10-22 18:41:35 +0400
committerAlexander Barkov <bar@mariadb.com>2021-10-27 06:09:57 +0400
commite97b785d764f85009412947600195001be01a706 (patch)
tree6ef5ec6254429167b78f7d4af2314e15630c6343 /libservices/debug_sync_service.c
parentf9b856b0525dd9d82a9b42be690a26a295c73c64 (diff)
downloadmariadb-git-bb-10.3-bar-MDEV-22380.tar.gz
MDEV-22380: Assertion `name.length == strlen(name.str)' failed ...bb-10.3-bar-MDEV-22380
Also fixes: MDEV-25399 Assertion `name.length == strlen(name.str)' failed in Item_func_sp::make_send_field Also fixes a problem that in this scenario: SET NAMES binary; SELECT 'some not well-formed utf8 string'; the auto-generated column name copied the binary string value directly to the Item name, without checking utf8 well-formedness. After this change auto-generated column names work as follows: - Zero bytes 0x00 are copied to the name using HEX notation - In case of "SET NAMES binary", all bytes sequences that do not make well-formed utf8 characters are copied to the name using HEX notation.
Diffstat (limited to 'libservices/debug_sync_service.c')
0 files changed, 0 insertions, 0 deletions