summaryrefslogtreecommitdiffstats
path: root/unittest/strings
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:33:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:33:02 +0000
commit4fa488fb0159c629483b7994aa84e73926b132b9 (patch)
tree182a19db69cdcb92be54cc6a5b0b9bfab28f80fd /unittest/strings
parentAdding debian version 1:10.11.6-2. (diff)
downloadmariadb-4fa488fb0159c629483b7994aa84e73926b132b9.tar.xz
mariadb-4fa488fb0159c629483b7994aa84e73926b132b9.zip
Merging upstream version 1:10.11.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'unittest/strings')
-rw-r--r--unittest/strings/strings-t.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/unittest/strings/strings-t.c b/unittest/strings/strings-t.c
index be5fc085..a681a4d3 100644
--- a/unittest/strings/strings-t.c
+++ b/unittest/strings/strings-t.c
@@ -1166,6 +1166,19 @@ static STRNNCOLLSP_CHAR_PARAM strnncollsp_char_utf8mb3_unicode_ci[]=
{{CSTR("ss")}, {CSTR(UTF8_sz)}, 4, TCHAR, 0},
{{CSTR("ss")}, {CSTR(UTF8_sz)}, 100, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 0, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 1, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 2, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 3, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 100, TCHAR, 0},
+
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 0, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 1, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 2, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 3, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 4, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 100, TCHAR, 0},
+
{{NULL, 0}, {NULL, 0}, 0, 0, 0}
};
@@ -1193,6 +1206,19 @@ static STRNNCOLLSP_CHAR_PARAM strnncollsp_char_utf8mb3_unicode_nopad_ci[]=
{{CSTR("ss")}, {CSTR(UTF8_sz)}, 4, TVCHAR, 0},
{{CSTR("ss")}, {CSTR(UTF8_sz)}, 100, TVCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 0, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 1, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 2, TCHAR, -1},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 3, TCHAR, 0},
+ {{CSTR("a" "\x01")}, {CSTR(UTF8_auml)}, 100, TCHAR, 0},
+
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 0, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 1, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 2, TCHAR, -1},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 3, TCHAR, -1},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 4, TCHAR, 0},
+ {{CSTR("a" "\x01\x01")}, {CSTR(UTF8_auml)}, 100, TCHAR, 0},
+
{{NULL, 0}, {NULL, 0}, 0, 0, 0}
};