From d46b249b8094aa256d96e764bffac08ab99fecad Mon Sep 17 00:00:00 2001 From: Scott Wey Date: Fri, 6 May 2022 01:20:48 -0700 Subject: [PATCH] add COLLATE_UTF8MB4_0900_AI_CI --- sqlx-core/src/mysql/types/str.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlx-core/src/mysql/types/str.rs b/sqlx-core/src/mysql/types/str.rs index 231500f08e..e222019702 100644 --- a/sqlx-core/src/mysql/types/str.rs +++ b/sqlx-core/src/mysql/types/str.rs @@ -12,6 +12,7 @@ const COLLATE_UTF8_UNICODE_CI: u16 = 192; const COLLATE_UTF8MB4_UNICODE_CI: u16 = 224; const COLLATE_UTF8MB4_BIN: u16 = 46; const COLLATE_UTF8MB4_GENERAL_CI: u16 = 45; +const COLLATE_UTF8MB4_0900_AI_CI: u16 = 255; impl Type for str { fn type_info() -> MySqlTypeInfo { @@ -42,6 +43,7 @@ impl Type for str { | COLLATE_UTF8_GENERAL_CI | COLLATE_UTF8MB4_BIN | COLLATE_UTF8MB4_GENERAL_CI + | COLLATE_UTF8MB4_0900_AI_CI ) } }