Commit 590508a
committed
prevent ErrBadConn from driver.Open()
because it seems this error is only meant to be internal, and if `ErrBadConn` is returned from here it can also be returned from the public api
See some confusion about this here: go-sql-driver/mysql#1020
And a fix in the postgres driver here: lib/pq@04c77ed1 parent 0f55994 commit 590508a
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
689 | 693 | | |
690 | 694 | | |
691 | 695 | | |
| |||
0 commit comments