Skip to content

Commit

Permalink
server: fixed bug[Invalid conditions]
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienero committed Oct 9, 2015
1 parent 092a0c3 commit 7f6b9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/conn.go
Expand Up @@ -221,7 +221,7 @@ func (c *Conn) readHandshakeResponse() error {

pos += authLen

if c.capability|CLIENT_CONNECT_WITH_DB > 0 {
if c.capability&CLIENT_CONNECT_WITH_DB > 0 {
if len(data[pos:]) == 0 {
return nil
}
Expand Down

0 comments on commit 7f6b9ad

Please sign in to comment.