Skip to content

Commit 4a5f431

Browse files
cursoragentlovasoa
andcommitted
Fix: Update CI and odbc bridge path
Co-authored-by: contact <[email protected]>
1 parent 31dc4a6 commit 4a5f431

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/sqlx.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,17 @@ jobs:
347347
run: cargo test --no-default-features --features any,odbc,macros,all-types,runtime-tokio-rustls
348348
env:
349349
DATABASE_URL: Driver={SQLite3};Database=./tests/odbc/sqlite.db
350+
351+
windows-build:
352+
name: Windows Build (sqlx-core)
353+
runs-on: windows-latest
354+
needs: check
355+
steps:
356+
- uses: actions/checkout@v4
357+
- uses: Swatinem/rust-cache@v2
358+
with:
359+
prefix-key: v1-sqlx
360+
save-if: ${{ false }}
361+
- name: Build core with ODBC (Windows)
362+
run: |
363+
cargo build --manifest-path sqlx-core/Cargo.toml --no-default-features --features odbc,all-types,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
@@ -3,7 +3,7 @@ use crate::odbc::{
33
connection::MaybePrepared, OdbcArgumentValue, OdbcArguments, OdbcColumn, OdbcQueryResult,
44
OdbcRow, OdbcTypeInfo,
55
};
6-
use crate::odbc::connection::decode_column_name;
6+
use super::decode_column_name;
77
use either::Either;
88
use flume::{SendError, Sender};
99
use odbc_api::handles::{AsStatementRef, Statement};

0 commit comments

Comments
 (0)