summaryrefslogtreecommitdiff
path: root/mysql-test/include/endspace.inc
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-12-01 19:25:05 +0400
committerunknown <bar@mysql.com>2004-12-01 19:25:05 +0400
commit561ee8fd3713ddd713c7cc420b8c03265855de51 (patch)
treec41ffeff12a89bdd045bf4b468fe39f22317d7c9 /mysql-test/include/endspace.inc
parent2d2d61d10ca245a3f2524d6ee76a7bbcf3911153 (diff)
downloadmariadb-git-561ee8fd3713ddd713c7cc420b8c03265855de51.tar.gz
Move common trailing space checks into an include file.
Check UCS2 trailing spaces. mysql-test/r/ctype_ucs.result: Move common trailing space checks into an include file. Check UCS2 trailing spaces. Fix UCS2 to handle trailing spaces in PAD way. mysql-test/t/ctype_ucs.test: Move common trailing space checks into an include file. Check UCS2 trailing spaces. Fix UCS2 to handle trailing spaces in PAD way. mysql-test/t/endspace.test: Move common trailing space checks into an include file. Check UCS2 trailing spaces. Fix UCS2 to handle trailing spaces in PAD way. strings/ctype-ucs2.c: Move common trailing space checks into an include file. Check UCS2 trailing spaces. Fix UCS2 to handle trailing spaces in PAD way.
Diffstat (limited to 'mysql-test/include/endspace.inc')
-rw-r--r--mysql-test/include/endspace.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/include/endspace.inc b/mysql-test/include/endspace.inc
new file mode 100644
index 00000000000..1692a258bde
--- /dev/null
+++ b/mysql-test/include/endspace.inc
@@ -0,0 +1,7 @@
+select 'a' = 'a', 'a' = 'a ', 'a ' = 'a';
+select 'a\0' = 'a', 'a\0' < 'a', 'a\0' > 'a';
+select 'a' = 'a\0', 'a' < 'a\0', 'a' > 'a\0';
+select 'a\0' = 'a ', 'a\0' < 'a ', 'a\0' > 'a ';
+select 'a ' = 'a\0', 'a ' < 'a\0', 'a ' > 'a\0';
+select 'a a' > 'a', 'a \0' < 'a';
+select binary 'a a' > 'a', binary 'a \0' > 'a', binary 'a\0' > 'a';