summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sys_vars/t/debug_dbug_utf16le.test
blob: 0c4d8f92e93ac22db6a9e64729727fb8405ef1e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--source include/have_debug.inc
--source include/have_utf16.inc

--echo #
--echo # Start of 10.5 tests
--echo #

--echo #
--echo # MDEV-28366 GLOBAL debug_dbug setting affected by collation_connection=utf16...
--echo #

SET NAMES utf8;
SET collation_connection=utf16le_general_ci;
SET debug_dbug='d,any_random_string';
SELECT @@debug_dbug;
SET debug_dbug=CONCAT('d,', _latin1 0xDF);
SELECT @@debug_dbug;
SELECT HEX(@@debug_dbug);

SET @@debug_dbug=NULL;
SELECT @@debug_dbug;

SET @@debug_dbug=DEFAULT;
SELECT @@debug_dbug;
SET NAMES latin1;

--echo #
--echo # End of 10.5 tests
--echo #