mysql icon indicating copy to clipboard operation
mysql copied to clipboard

Improve ErrBadConn

Open methane opened this issue 1 year ago • 0 comments

We have dropped old go versions. So we can improve how ErrBadConn handled.

Since database/sql uses IsValid() and ResetSession() to check connection, we can return i/o errors without translating them into ErrBadConn.

We should remove errBadConnNoWrite too.

methane avatar May 16 '24 08:05 methane