Skip to content

Commit

Permalink
tidb: Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shenli committed Sep 8, 2015
1 parent 1329e77 commit 663e958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func newdriverRows(rs rset.Recordset) *driverRows {
// name isn't known, an empty string should be returned for that entry.
func (r *driverRows) Columns() []string {
if r.rs == nil {
return make([]string, 0)
return []string{}
}
fs, _ := r.rs.Fields()
names := make([]string, len(fs))
Expand Down

0 comments on commit 663e958

Please sign in to comment.