Skip to content

Commit 7898a0d

Browse files
committed
chore: Add 'either' dependency and update ODBC test imports
1 parent 0bfd4cc commit 7898a0d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/sqlx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ jobs:
373373
-- -D warnings
374374
- name: Run ODBC tests (PostgreSQL DSN)
375375
run: |
376-
cargo test --no-default-features --features any,odbc,macros,all-types,runtime-tokio-rustls -- --test any-odbc
376+
cargo test --no-default-features --features any,odbc,macros,all-types,runtime-tokio-rustls any_odbc
377377
cargo test --no-default-features --features odbc,all-types,runtime-tokio-rustls -- --test odbc
378378
cargo test --no-default-features --features odbc,all-types,runtime-tokio-rustls -- --test odbc-types
379379
env:
@@ -385,7 +385,7 @@ jobs:
385385
- name: Run ODBC tests (SQLite driver)
386386
run: |
387387
echo "Using SQLite ODBC driver: ${{ steps.detect_sqlite.outputs.driver }}"
388-
cargo test --no-default-features --features any,odbc,macros,all-types,runtime-tokio-rustls -- --test any-odbc
388+
cargo test --no-default-features --features any,odbc,macros,all-types,runtime-tokio-rustls any_odbc
389389
cargo test --no-default-features --features odbc,all-types,runtime-tokio-rustls -- --test odbc
390390
cargo test --no-default-features --features odbc,all-types,runtime-tokio-rustls -- --test odbc-types
391391
env:

Cargo.lock

Lines changed: 1 addition & 0 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ rand = "0.8"
169169
rand_xoshiro = "0.7.0"
170170
hex = "0.4.3"
171171
tempdir = "0.3.7"
172+
either = "1.6.1"
172173
# Needed to test SQLCipher
173174
libsqlite3-sys = { version = "0", features = [
174175
"bundled-sqlcipher-vendored-openssl",

tests/any/odbc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![allow(clippy::approx_constant)]
22
use sqlx_oldapi::any::{AnyConnection, AnyRow};
3-
use sqlx_oldapi::{Connection, Executor, Row};
3+
use sqlx_oldapi::{Column, Connection, Executor, Row, Statement};
44

55
#[cfg(feature = "odbc")]
66
async fn odbc_conn() -> anyhow::Result<AnyConnection> {

0 commit comments

Comments
 (0)