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

nbari / dbpulse / 19402860278

16 Nov 2025 08:27AM UTC coverage: 72.504% (-0.4%) from 72.897%
19402860278

push

github

nbari
fix: MariaDB compatibility for query timeout configuration

MariaDB doesn't support the MySQL variable `max_execution_time`.
Instead, it uses `max_statement_time` (and uses seconds instead of milliseconds).

This fix:
- Attempts to set `max_execution_time` first (for MySQL 5.7+)
- Falls back to `max_statement_time` if the first attempt fails (for MariaDB)
- Ensures query timeout protection works on both MySQL and MariaDB

Fixes CI test failures where 9/11 MariaDB tests were failing with:
"Unknown system variable 'max_execution_time'"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

5 of 6 new or added lines in 1 file covered. (83.33%)

136 existing lines in 3 files now uncovered.

2418 of 3335 relevant lines covered (72.5%)

26.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.27
/src/queries/postgres.rs


Source Not Available

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