Skip to content

Commit

Permalink
remove binary flag check on str for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyang-ok committed Feb 6, 2025
1 parent 3a20a92 commit d6b48cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sqlx-mysql/src/types/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Type<MySql> for str {
| ColumnType::String
| ColumnType::VarString
| ColumnType::Enum
) && !ty.flags.contains(ColumnFlags::BINARY)
)
}
}

Expand Down

0 comments on commit d6b48cd

Please sign in to comment.