Bug Description
using
SELECT 1;
is not a valid query to test the connection in db2. Is it possible to use this query instead if the connected database is a db2 database
select 1 from sysibm.sysdummy1;
Minimal Reproduction
- Initialized connection to a db2 using odbc.
- Wait until ping_blocking function is called
Info
- SQLx version: [0.6]
- SQLx features enabled: [ "runtime-tokio-native-tls" , "mssql" , "odbc" , "chrono" ]
- Database server and version: (ODBC connection to db2 iseries database)
- Operating system: [windows 10]
rustc --version: [rustc 1.90.0 (1159e78c4 2025-09-14)]