mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
fix db type
This commit is contained in:
parent
e166f062be
commit
d3cb84b893
@ -121,8 +121,8 @@ where
|
||||
let mut encoded = Vec::new();
|
||||
let mut encoded_orig = Vec::new();
|
||||
|
||||
Encode::<sqlx::MySql>::encode(example, &mut encoded);
|
||||
Encode::<sqlx::MySql>::encode(name, &mut encoded_orig);
|
||||
Encode::<DB>::encode(example, &mut encoded);
|
||||
Encode::<DB>::encode(*name, &mut encoded_orig);
|
||||
|
||||
assert_eq!(encoded, encoded_orig);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user