Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/dolthub/go-icu-regex v0.0.0-20250916051405-78a38d478790
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71
github.com/dolthub/sqllogictest/go v0.0.0-20201107003712-816f3ae12d81
github.com/dolthub/vitess v0.0.0-20251107003339-843d10a6a8d4
github.com/dolthub/vitess v0.0.0-20251124192614-8039a9881a64
github.com/go-sql-driver/mysql v1.9.3
github.com/gocraft/dbr/v2 v2.7.2
github.com/google/uuid v1.3.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ github.com/dolthub/vitess v0.0.0-20251105091622-b08b393fd9b1 h1:2uiHo4gkf2n/Cw9u
github.com/dolthub/vitess v0.0.0-20251105091622-b08b393fd9b1/go.mod h1:FLWqdXsAeeBQyFwDjmBVu0GnbjI2MKeRf3tRVdJEKlI=
github.com/dolthub/vitess v0.0.0-20251107003339-843d10a6a8d4 h1:vOF5qPLC0Yd4BN/FKJlRLNELIZZlev40TrckORQqzhA=
github.com/dolthub/vitess v0.0.0-20251107003339-843d10a6a8d4/go.mod h1:FLWqdXsAeeBQyFwDjmBVu0GnbjI2MKeRf3tRVdJEKlI=
github.com/dolthub/vitess v0.0.0-20251124192614-8039a9881a64 h1:E3IfAYxrZ+dXgBHXN9L1ucotg3J8YDCeDr47u78tUI4=
github.com/dolthub/vitess v0.0.0-20251124192614-8039a9881a64/go.mod h1:FLWqdXsAeeBQyFwDjmBVu0GnbjI2MKeRf3tRVdJEKlI=
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
Expand Down
4 changes: 4 additions & 0 deletions server/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ func (ih *interceptorHandler) ConnectionClosed(c *mysql.Conn) {
ih.h.ConnectionClosed(c)
}

func (ih *interceptorHandler) ConnectionAuthenticated(c *mysql.Conn) error {
return ih.h.ConnectionAuthenticated(c)
}

func (ih *interceptorHandler) ConnectionAborted(c *mysql.Conn, reason string) error {
return ih.h.ConnectionAborted(c, reason)
}
Expand Down
4 changes: 4 additions & 0 deletions server/golden/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ func (h MySqlProxy) ConnectionClosed(c *mysql.Conn) {
delete(h.conns, c.ConnectionID)
}

func (h MySqlProxy) ConnectionAuthenticated(c *mysql.Conn) error {
return nil
}

// ConnectionAborted implements mysql.Handler.
func (h MySqlProxy) ConnectionAborted(c *mysql.Conn, reason string) error {
return nil
Expand Down
4 changes: 4 additions & 0 deletions server/golden/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ func (v Validator) ConnectionClosed(c *mysql.Conn) {
v.golden.ConnectionClosed(c)
}

func (v Validator) ConnectionAuthenticated(c *mysql.Conn) error {
return nil
}

func (v Validator) ConnectionAborted(c *mysql.Conn, reason string) error {
return nil
}
Expand Down