Skip to content

Commit

Permalink
Merge pull request #200 from XiaoMi/dev
Browse files Browse the repository at this point in the history
fix readHandshakeResponse
  • Loading branch information
xiyangxixian authored Mar 2, 2022
2 parents c58faee + d8f3338 commit fab29c0
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 fab29c0

Please sign in to comment.