1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

Adding a test for "MDEV-6973 XOR aggregates argument collations".

The bug itself was earlier fixed by this patch:

commit 3709c7fc6d
MDEV-8222 "string_field LIKE int_const" returns a wrong result in case of UCS2
MDEV-8257 Erroneous "Impossible where" when mixing decimal comparison and LIKE
This commit is contained in:
Alexander Barkov
2015-06-09 15:02:53 +04:00
parent 70b82efd20
commit b0928711e0
2 changed files with 26 additions and 0 deletions

View File

@@ -13573,3 +13573,15 @@ DROP TABLE t1;
#
# End of MariaDB-10.0 tests
#
#
# Start of MariaDB-10.1 tests
#
#
# MDEV-6973 XOR aggregates argument collations
#
SELECT '10' COLLATE utf8_general_ci XOR '20' COLLATE utf8_unicode_ci;
'10' COLLATE utf8_general_ci XOR '20' COLLATE utf8_unicode_ci
0
#
# End of MariaDB-10.1 tests
#

View File

@@ -620,3 +620,17 @@ DROP TABLE t1;
--echo #
--echo # End of MariaDB-10.0 tests
--echo #
--echo #
--echo # Start of MariaDB-10.1 tests
--echo #
--echo #
--echo # MDEV-6973 XOR aggregates argument collations
--echo #
SELECT '10' COLLATE utf8_general_ci XOR '20' COLLATE utf8_unicode_ci;
--echo #
--echo # End of MariaDB-10.1 tests
--echo #