fix charset (#736)

This commit is contained in:
yu34po
2022-02-09 10:47:02 +08:00
committed by GitHub
parent e5f59ea074
commit 21564ec61d
4 changed files with 36 additions and 2 deletions

View File

@ -247,6 +247,10 @@ select collation(cast(1 as char));
SELECT collation(DATE_FORMAT('2009-10-04 22:23:00', '%W %M %Y'));
select collation(cast('A' as char)), cast('A' as char) < 'a';
#set utf8 binary collation set
SELECT collation(CAST('A' AS char CHAR SET utf8mb4));
SELECT collation(CAST('A' AS char CHAR SET binary));
################################################################
# tear-down
drop table coll_test;