diff --git a/go/mysql/server.go b/go/mysql/server.go index f32977ae46a..0dd9d4e427a 100644 --- a/go/mysql/server.go +++ b/go/mysql/server.go @@ -672,13 +672,11 @@ func (l *Listener) parseClientHandshakePacket(c *Conn, firstTime bool, data []by // Decode connection attributes send by the client if clientFlags&CapabilityClientConnAttr != 0 { - var attrs map[string]string var err error - attrs, pos, err = parseConnAttrs(data, pos) + _, pos, err = parseConnAttrs(data, pos) if err != nil { return "", "", nil, err } - log.Infof("Connection Attributes: %-v", attrs) } return username, authMethod, authResponse, nil