mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
bug#7284: strnxfrm returns different results for equal strings
This commit is contained in:
15
mysql-test/include/ctype_filesort.inc
Normal file
15
mysql-test/include/ctype_filesort.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Set desired charset_connection and collation_collation
|
||||
# before including this file.
|
||||
#
|
||||
|
||||
# The next query creates a LONGTEXT column
|
||||
# using the current character_set_connection
|
||||
# and collation_connection.
|
||||
|
||||
create table t1 select repeat('a',4000) a;
|
||||
delete from t1;
|
||||
|
||||
insert into t1 values ('a'), ('a '), ('a\t');
|
||||
select collation(a),hex(a) from t1 order by a;
|
||||
drop table t1;
|
||||
Reference in New Issue
Block a user