mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
72ba96a48e
Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
38 lines
2.1 KiB
C++
38 lines
2.1 KiB
C++
#enable after fix MDEV-29290
|
|
--disable_view_protocol
|
|
select collation(cast(0xA1A1 as char));
|
|
select hex(weight_string(cast(0x6141 as char)));
|
|
select hex(weight_string(cast(0xA1A1 as char)));
|
|
select hex(weight_string(cast(0xA1A1 as char) as char(1)));
|
|
select hex(weight_string(cast(0xA1A1A1A1 as char) as char(1)));
|
|
select hex(weight_string(cast(0xA1A1 as char) as char(3)));
|
|
select hex(weight_string(cast(0xA1A1A1A1 as char) as char(3)));
|
|
select hex(weight_string(cast(0x40A1A1 as char) as char(3)));
|
|
select hex(weight_string(cast(0x40A1A1A1A1 as char) as char(3)));
|
|
select hex(weight_string(cast(0x40A1A1A1A1A1A1 as char) as char(3)));
|
|
select hex(weight_string(cast(0x4040A1A1A1A1A1A1 as char) as char(3)));
|
|
|
|
# Read 2 characters from the source string (the last character is not used)
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 1, 2, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 2, 2, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 3, 2, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 4, 2, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 5, 2, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char),25, 2, 0xC0));
|
|
|
|
# Read 3 characters from the source string (the entire string is used)
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 1, 3, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 2, 3, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 3, 3, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 4, 3, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 5, 3, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char),25, 3, 0xC0));
|
|
|
|
# Read 4 characters from the source string (extra space is added)
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 1, 4, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 2, 4, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 3, 4, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 4, 4, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char), 5, 4, 0xC0));
|
|
select hex(weight_string(cast(0xA1A1A1A1A1A1 as char),25, 4, 0xC0));
|
|
--enable_view_protocol
|