Skip to content

Commit

Permalink
getSystemVar: skip reading Columns
Browse files Browse the repository at this point in the history
  • Loading branch information
julienschmidt committed Oct 25, 2013
1 parent 7267690 commit 7e1b91b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ func (mc *mysqlConn) getSystemVar(name string) ([]byte, error) {

if resLen > 0 {
// Columns
rows.columns, err = mc.readColumns(resLen)
if err != nil {
if err := mc.readUntilEOF(); err != nil {
return nil, err
}
}
Expand Down

0 comments on commit 7e1b91b

Please sign in to comment.