Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When under `GOOS=wasip1`, the `github.com/go-sql-driver/mysql` driver is imported and automatically registered with the `database/sql` package. When not under `GOOS=wasip1`, the driver package isn't imported and so isn't registered. This commit updates the mysql package to always import the driver and always register it with `database/sql`.
- Loading branch information