Skip to content

Commit

Permalink
bugfix #250 #248
Browse files Browse the repository at this point in the history
  • Loading branch information
flike committed Sep 12, 2016
1 parent baf3d01 commit e78adff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mysql/resultset.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ func (p RowData) ParseText(f []*Field) ([]interface{}, error) {
case MYSQL_TYPE_VARCHAR, MYSQL_TYPE_VAR_STRING,
MYSQL_TYPE_STRING, MYSQL_TYPE_DATETIME, MYSQL_TYPE_DATE, MYSQL_TYPE_TIME:
data[i] = string(v)
case MYSQL_TYPE_TIMESTAMP:
data[i], err = strconv.ParseInt(string(v), 10, 64)
default:
data[i] = v
}
Expand Down

0 comments on commit e78adff

Please sign in to comment.