diff --git a/sqlx-core/src/mssql/types/float.rs b/sqlx-core/src/mssql/types/float.rs index 33c8a74ab6..a9ebd2f51b 100644 --- a/sqlx-core/src/mssql/types/float.rs +++ b/sqlx-core/src/mssql/types/float.rs @@ -13,7 +13,7 @@ impl Type for f32 { } fn compatible(ty: &MssqlTypeInfo) -> bool { - matches!(ty.0.ty, DataType::Real | DataType::FloatN) && ty.0.size == 4 + >::compatible(ty) } } diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index dce0770420..4ff9c8a525 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -220,9 +220,6 @@ services: environment: ACCEPT_EULA: "Y" SA_PASSWORD: Password123! - MSSQL_COLLATION: Chinese_PRC_CI_AS - LANG: zh_CN.UTF-8 - LC_ALL: zh_CN.UTF-8 # # IBM Db2