summaryrefslogtreecommitdiff
path: root/mysql-test/r/compare.result
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-28 17:18:35 -0800
committerunknown <jimw@mysql.com>2005-01-28 17:18:35 -0800
commitc2383412b243e05ec01434b8667aafa3559225b3 (patch)
treeb8a1d55380d40a9795bcd517a40e07dc79b2460d /mysql-test/r/compare.result
parentbc12f6734362705fcd25abda70ac70ca2535b721 (diff)
downloadmariadb-git-c2383412b243e05ec01434b8667aafa3559225b3.tar.gz
Fix error in string comparisons with CHAR(31) against the space-padding
of strings of unequal length. (Bug #8134) mysql-test/t/compare.test: Add new regression test strings/ctype-simple.c: Fix value used for swapping negative/positive values using XOR mysql-test/r/compare.result: Add new test result
Diffstat (limited to 'mysql-test/r/compare.result')
-rw-r--r--mysql-test/r/compare.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/compare.result b/mysql-test/r/compare.result
index bf8a5106044..49ec2dd85cc 100644
--- a/mysql-test/r/compare.result
+++ b/mysql-test/r/compare.result
@@ -36,3 +36,6 @@ hex(a) STRCMP(a,'a') STRCMP(a,'a ')
6109 -1 -1
61 0 0
DROP TABLE t1;
+SELECT CHAR(31) = '', '' = CHAR(31);
+CHAR(31) = '' '' = CHAR(31)
+0 0