Skip to content

Commit 88aab3b

Browse files
authored
Update odbc-api to 24.0.0 (#52)
* Update mockall to 0.14 * Update hashlink to 0.11 * Update flume to 0.12 * Update git2 to 0.20.4 * Update whoami to 2.1.1 * Update async-native-tls to 0.6.0 * Update odbc-api to 24.0.0
1 parent 428862a commit 88aab3b

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sqlx-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ hkdf = { version = "0.12.0", optional = true }
173173
event-listener = "5.4.0"
174174

175175
dotenvy = "0.15"
176-
odbc-api = { version = "19.0.1", optional = true }
176+
odbc-api = { version = "24.0.0", optional = true }
177177

178178
[dev-dependencies]
179179
sqlx = { package = "sqlx-oldapi", path = "..", features = ["postgres", "sqlite", "mysql", "runtime-tokio-rustls"] }

sqlx-core/src/odbc/connection/odbc_bridge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ fn map_buffer_desc(
248248
// Binary types
249249
DataType::Binary { .. } | DataType::Varbinary { .. } | DataType::LongVarbinary { .. } => {
250250
BufferDesc::Binary {
251-
length: max_column_size,
251+
max_bytes: max_column_size,
252252
}
253253
}
254254
// Text types

0 commit comments

Comments
 (0)