Files
bun.sh/test/js/sql
Claude Bot 31088e4575 fix: Correct MYSQL_URL protocol detection in adapter inference
The previous implementation incorrectly checked if MYSQL_URL was a SQLite URL
using parseDefinitelySqliteUrl(). This fix properly checks the protocol of
environment URLs to determine the correct adapter:

- mysql://, mariadb://, mysqls:// → mysql adapter
- postgres://, postgresql:// → postgres adapter
- SQLite URLs (detected by parseDefinitelySqliteUrl) → sqlite adapter

Added tests to verify MYSQL_URL and POSTGRES_URL environment variables
correctly infer their respective adapters and that precedence is respected.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 12:07:23 -07:00
..
2025-08-19 23:15:53 -07:00
2025-05-08 18:51:32 -07:00
2025-05-08 18:51:32 -07:00
2025-08-01 22:41:05 -07:00
2025-08-19 23:15:53 -07:00