We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f557730 commit 92a288dCopy full SHA for 92a288d
connection_go18.go
@@ -200,3 +200,12 @@ func (mc *mysqlConn) CheckNamedValue(nv *driver.NamedValue) (err error) {
200
nv.Value, err = converter{}.ConvertValue(nv.Value)
201
return
202
}
203
+
204
+// ResetSession implements driver.SessionResetter.
205
+// (From Go 1.10)
206
+func (mc *mysqlConn) ResetSession(ctx context.Context) error {
207
+ if mc.closed.IsSet() {
208
+ return driver.ErrBadConn
209
+ }
210
+ return nil
211
+}
0 commit comments