From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/include/weight_string_l1.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mysql-test/include/weight_string_l1.inc (limited to 'mysql-test/include/weight_string_l1.inc') diff --git a/mysql-test/include/weight_string_l1.inc b/mysql-test/include/weight_string_l1.inc new file mode 100644 index 00000000..20b353c7 --- /dev/null +++ b/mysql-test/include/weight_string_l1.inc @@ -0,0 +1,13 @@ +#enable after fix MDEV-29290 +--disable_view_protocol +select @@collation_connection; +select hex(weight_string('a' LEVEL 1)); +select hex(weight_string('A' LEVEL 1)); +select hex(weight_string('abc' LEVEL 1)); +select hex(weight_string('abc' as char(2) LEVEL 1)); +select hex(weight_string('abc' as char(3) LEVEL 1)); +select hex(weight_string('abc' as char(5) LEVEL 1)); +select hex(weight_string('abc' as char(5) LEVEL 1 REVERSE)); +select hex(weight_string('abc' as char(5) LEVEL 1 DESC)); +select hex(weight_string('abc' as char(5) LEVEL 1 DESC REVERSE)); +--enable_view_protocol -- cgit v1.2.3