Skip to content

Commit 191d065

Browse files
committed
chore: Update to odbc-api 11
1 parent b3981d2 commit 191d065

File tree

4 files changed

+76
-66
lines changed

4 files changed

+76
-66
lines changed

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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tempfile = "3.16.0"
3838
# Using ODBC version 3.5 is avoiding warnings with drivers which only support 3.5 as oppossed to
3939
# 3.8. Currently odbc2parquet does not need to use use any ODBC version 3.8 features.
4040
[dependencies.odbc-api]
41-
version = "10"
41+
version = "11"
4242
features = ["odbc_version_3_5"]
4343

4444
[dependencies.clap]

src/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub fn query(opt: QueryOpt) -> Result<(), Error> {
8888
};
8989

9090
if let Some(cursor) = odbc_conn
91-
.into_cursor(&query, params.as_slice())
91+
.into_cursor(&query, params.as_slice(), None)
9292
// Drop the connection for odbc_api::ConnectionAndError in order to make the error
9393
// convertible into an anyhow error. The connection is offered by odbc_api in the error type
9494
// to allow reusing the same connection, even after conversion into cursor failed. However

0 commit comments

Comments
 (0)