diff options
author | Alexander Barkov <bar@mysql.com> | 2010-03-04 16:02:30 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mysql.com> | 2010-03-04 16:02:30 +0400 |
commit | 47aaf9c401a68d6bff8cc869d383d0041b5146d2 (patch) | |
tree | 169ae072d87a08012ff7bba42bea4074261cbcfa /mysql-test | |
parent | d6edcf75a57d917c8d884db6530f7a58087fd54b (diff) | |
download | mariadb-git-47aaf9c401a68d6bff8cc869d383d0041b5146d2.tar.gz |
Bug#51675 Server crashes on inserting 4 byte char. after ALTER TABLE to 'utf8mb4'
Bug#51676 Server crashes on SELECT, ORDER BY on 'utf8mb4' column
An additional fix. We should use 0xFFFD as a weight for supplementary
characters, not the "weight for character U+FFFD".
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/ctype_utf8mb4.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/ctype_utf8mb4.result b/mysql-test/r/ctype_utf8mb4.result index 26ac58fc79f..d43f3b0e0bd 100644 --- a/mysql-test/r/ctype_utf8mb4.result +++ b/mysql-test/r/ctype_utf8mb4.result @@ -2456,16 +2456,16 @@ t1 CREATE TABLE `t1` ( ) ENGINE=MyISAM DEFAULT CHARSET=latin1 SELECT * FROM t1 ORDER BY 1; subject p -𐐀 NULL abc𐐀def NULL +𐐀 NULL SELECT hex(subject), length(subject), char_length(subject), octet_length(subject) FROM t1 ORDER BY 1; hex(subject) length(subject) char_length(subject) octet_length(subject) 616263F0909080646566 10 7 10 F0909080 4 1 4 SELECT subject FROM t1 ORDER BY 1; subject -𐐀 abc𐐀def +𐐀 DROP TABLE t1; # # End of 5.5 tests |