Skip to content

Commit 8e3eb81

Browse files
committed
Revert "Implement driver.Validator interface (go-sql-driver#1174)"
This reverts commit 3326742.
1 parent de1da0a commit 8e3eb81

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

connection.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,3 @@ func (mc *mysqlConn) ResetSession(ctx context.Context) error {
645645
mc.reset = true
646646
return nil
647647
}
648-
649-
// IsValid implements driver.Validator interface
650-
// (From Go 1.15)
651-
func (mc *mysqlConn) IsValid() bool {
652-
return !mc.closed.IsSet()
653-
}

0 commit comments

Comments
 (0)