diff --git a/go.mod b/go.mod index dca193043e..7903257391 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 8b721b8171..3110da6ca1 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/server/extension.go b/server/extension.go index 1568efbc87..3e29a80fd2 100644 --- a/server/extension.go +++ b/server/extension.go @@ -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) } diff --git a/server/golden/proxy.go b/server/golden/proxy.go index 4fd248fb99..75aec39486 100644 --- a/server/golden/proxy.go +++ b/server/golden/proxy.go @@ -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 diff --git a/server/golden/validator.go b/server/golden/validator.go index b62bff81ec..bd6d0d0d33 100644 --- a/server/golden/validator.go +++ b/server/golden/validator.go @@ -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 }