From fb8d68cba6271a6bc81d9f7b98bdf910cb0fba7e Mon Sep 17 00:00:00 2001 From: Henri Maurer Date: Tue, 7 Nov 2023 10:39:57 +0000 Subject: [PATCH] wip --- go/mysql/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/mysql/server.go b/go/mysql/server.go index efcf5a78eb8..feb8d4ff4de 100644 --- a/go/mysql/server.go +++ b/go/mysql/server.go @@ -334,7 +334,7 @@ func (l *Listener) handle(conn net.Conn, connectionID uint32, acceptTime time.Ti var connWithTimeouts netutil.ConnWithTimeouts if l.connReadTimeout != 0 || l.connWriteTimeout != 0 { connWithTimeouts = netutil.NewConnWithTimeouts(conn, l.connReadTimeout, l.connWriteTimeout) - conn = connWithTimeouts + conn = &connWithTimeouts } c := newServerConn(conn, l) c.ConnectionID = connectionID