Preserve the underlying database error across all drivers and cover the wrapping behavior with focused tests. Make creation tests wait for the asynchronous completion callbacks to avoid timing-dependent assertions. |
||
|---|---|---|
| .. | ||
| mysql | ||
| postgres | ||
| sqlite | ||
| db.go | ||