mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-7807 information_schema.processlist truncates queries with binary strings
Adding a new column INFORMATION_SCHEMA.PROCESSLIST.INFO_BINARY.
This commit is contained in:
@ -17,3 +17,21 @@ select command, time < 5 from information_schema.processlist where id != connect
|
||||
command time < 5
|
||||
Sleep 1
|
||||
set debug_sync='reset';
|
||||
#
|
||||
# 10.1 tests
|
||||
#
|
||||
#
|
||||
# MDEV-7807 information_schema.processlist truncates queries with binary strings
|
||||
#
|
||||
SET NAMES utf8;
|
||||
SELECT INFO, INFO_BINARY, 'xxx😎yyy' AS utf8mb4_string FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%xxx%yyy%';
|
||||
INFO SELECT INFO, INFO_BINARY, 'xxx????yyy' AS utf8mb4_string FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%xxx%yyy%'
|
||||
INFO_BINARY SELECT INFO, INFO_BINARY, 'xxx😎yyy' AS utf8mb4_string FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%xxx%yyy%'
|
||||
utf8mb4_string xxx😎yyy
|
||||
Warnings:
|
||||
Level Warning
|
||||
Code 1366
|
||||
Message Incorrect string value: '\xF0\x9F\x98\x8Eyy...' for column 'INFO' at row 1
|
||||
#
|
||||
# End of 10.1 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user