-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit 2df7a26
stmt.Close() returns nil when double close (#1642)
ErrBadConn needs special care to ensure it is safe to retry.
To improve maintenance, I don't want to use the error where I don't have to.
Additionally, update the old comment about Go's bug that had been fixed long time ago.1 parent 9c8d6a5 commit 2df7a26
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | - | ||
28 | - | ||
29 | - | ||
30 | - | ||
31 | - | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
|
0 commit comments