Repository navigation
Open
0 / 160 of 16 issues completedDescription
In order to migrate off of sqlx-oldapi onto sqlx (sqlpage/SQLPage#1056), we need to finish backporting odbc support. One easy way to reach for feature parity is by esuring the tests match 1:1, then refactor for duplicated scope and anipatterns (would be nice to kill two birds with one stone tho...)
Assited-By :: Claude Opus 5.5
| Mark | Meaning |
|---|---|
| ✅ | sqlx-odbc has a test that checks the same behavior |
| 🟡 | sqlx-odbc checks part of it. The note says what is missing |
| ❌ | sqlx-odbc has no test for it |
| ➖ | Does not apply. The note says why |
Summary
| Area | ✅ | 🟡 | ❌ | ➖ |
|---|---|---|---|---|
| Connecting | 1 | 0 | 1 | 0 |
| Running queries and streaming rows | 5 | 1 | 2 | 0 |
| Prepared statements, metadata and the statement cache | 2 | 4 | 5 | 0 |
| Binding parameters | 3 | 3 | 2 | 0 |
| Transactions | 2 | 0 | 0 | 0 |
| Errors | 3 | 5 | 7 | 0 |
| Buffered and unbuffered fetching | 1 | 1 | 2 | 0 |
| Reading values from a database | 2 | 5 | 39 | 0 |
| Type conversion without a database | 39 | 11 | 14 | 0 |
| Any driver | 4 | 4 | 5 | 4 |
| Generic Any and pool tests run against ODBC | 1 | 8 | 2 | 2 |
| Total | 63 | 42 | 79 | 6 |
How this was checked
- Every code link was checked against the pinned commits: each test name sits on the linked line.
- sqlx-odbc ran against PostgreSQL 17.11 (psqlODBC 18), DuckDB ODBC 1.5.3.0 (the CI version) and DuckDB ODBC 2.0.0.0. On DuckDB 2.0.0.0,
wrong_parameter_count_errors_when_configuredfails: a query with an unbound?returns a NULL row instead of an error. - Not run: the old driver, and DuckDB ODBC 1.5.5.0, the version SQLPage uses. Claims about the old driver come from reading its source.
- sqlx-oldapi
1b63a8d9matches release 0.6.59, which SQLPage uses. That release only changes version numbers.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 16 sub-issues
Metadata
Metadata
Assignees
Labels
No labels
Activity
[SLOP][DO NOT MERGE][@81reap to cleanup]
lovasoa commentedon Nov 22, 2026
Very useful, thanks ! Do not hesitate to push new tests, fixes if needed, and release new versions directly from main.
lovasoa commentedon Nov 22, 2026
For the duckdb odbc driver, I didn't know we used an outdated one in sqlpage. If needed, you can open a pr to update it in sqlpage.