Skip to content

Commit

Permalink
fix readHandshakeResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyangxixian committed Mar 1, 2022
1 parent dd6678d commit d8f3338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/server/client_conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ func (cc *ClientConn) readHandshakeResponse() (HandshakeResponseInfo, error) {
authResponse, pos, ok = mysql.ReadNullByte(data, pos)
}
if !ok {
return info, fmt.Errorf("readHandshakeResponse: can't read auth-response")
}

info.AuthResponse = authResponse
Expand Down

0 comments on commit d8f3338

Please sign in to comment.