Skip to content

Commit

Permalink
add COLLATE_UTF8MB4_0900_AI_CI (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwey authored Jun 1, 2022
1 parent 302b415 commit 5d91ffc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlx-core/src/mysql/types/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<MySql> for str {
fn type_info() -> MySqlTypeInfo {
Expand Down Expand Up @@ -42,6 +43,7 @@ impl Type<MySql> for str {
| COLLATE_UTF8_GENERAL_CI
| COLLATE_UTF8MB4_BIN
| COLLATE_UTF8MB4_GENERAL_CI
| COLLATE_UTF8MB4_0900_AI_CI
)
}
}
Expand Down

0 comments on commit 5d91ffc

Please sign in to comment.