• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / wrappers / 23599037966
82%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 02:24PM UTC
Jobs 1
Files 60
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2026 02:13PM UTC coverage: 80.324% (+0.3%) from 80.061%
23599037966

push

github

web-flow
Add mysql_fdw for MySQL/Doris support (#584)

* Add mysql_fdw for MySQL/Doris support via text protocol

Uses mysql_async crate with text protocol (simple_query) instead of
prepared statements, which makes it compatible with Doris and other
MySQL-protocol databases that don't support mysql_stmt_result_metadata.

Based on mssql_fdw template with MySQL-specific adaptations:
- MySQL LIMIT without requiring ORDER BY
- String-based date/time parsing for broader compatibility
- Support for conn_string and conn_string_id (vault) options

* fix: update mysql_fdw website URL to upstream repo path

* fix: address CodeRabbit review feedback for mysql_fdw

- Add mysql_fdw to native_fdws feature list in Cargo.toml
- Preserve SQLSTATE codes for OptionsError/CreateRuntimeError and
  sanitize mysql_async error messages to avoid leaking credentials
- Propagate datetime/date parse errors instead of silently returning NULL
- Quote SQL identifiers with backticks to prevent injection and
  reserved word conflicts

* fix: use MySQL-safe cell formatter for WHERE clause values

Add MysqlCellFormatter that escapes single quotes and backslashes in
string literals, and formats booleans as 0/1 for MySQL compatibility.
Use deparse_with_fmt instead of deparse to apply the safe formatter
when building WHERE predicates.

* fix: inline format args to satisfy clippy uninlined_format_args

* fix: address PR review - vault error propagation, identifier quoting in WHERE, and DML support

- Replace get_vault_secret().unwrap_or_default() with proper error propagation
  so missing/failed vault lookups surface as errors instead of empty conn_str
- Add custom deparse_qual() that quotes field names with backticks in WHERE
  clauses, matching the quoting used in SELECT columns and ORDER BY
- Implement DML methods (begin_modify, insert, update, delete, end_modify)
  using the same runtime/connection pattern as begin_scan

* feat: add streaming support and test cases

* feat(mysql_fdw): enhance s... (continued)

378 of 441 new or added lines in 2 files covered. (85.71%)

7944 of 9890 relevant lines covered (80.32%)

54.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
54
87.5
wrappers/src/fdw/mysql_fdw/mysql_fdw.rs
9
0.0
wrappers/src/fdw/mysql_fdw/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 23599037966.1 26 Mar 2026 02:24PM UTC 60
80.32
GitHub Action Run
Source Files on build 23599037966
  • Tree
  • List 60
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23599037966
  • dd6710b5 on github
  • Prev Build on main (#23472079368)
  • Next Build on main (#23647540559)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc