Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when mysql charset rule is utf8mb4_bin varchar column DB::TypeInfo eq is err #3691

Closed
Caisin opened this issue Jan 18, 2025 · 1 comment
Closed
Labels

Comments

@Caisin
Copy link

Caisin commented Jan 18, 2025

I have found these related issues/pull requests

let t = <String as sqlx::Type>::type_info();
let col_type = column.type_info();

t.eq(col_type) is false
<String as sqlx::Type>::compatible(col_type) also false

Description

let t = <String as sqlx::Type>::type_info();
let col_type = column.type_info();

t.eq(col_type) is false
<String as sqlx::Type>::compatible(col_type) also false

Reproduction steps

let t = <String as sqlx::Type>::type_info();
let col_type = column.type_info();

t.eq(col_type) is false
<String as sqlx::Type>::compatible(col_type) also false

SQLx version

0.8.3

Enabled SQLx features

mysql

Database server and version

Mysql

Operating system

windows and ubuntu

Rust version

1.82

@Caisin Caisin added the bug label Jan 18, 2025
@abonander
Copy link
Collaborator

Duplicate of #3387

@abonander abonander marked this as a duplicate of #3387 Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants