mysql: adds mapping for int/long

This commit is contained in:
Daniel Lee 2017-05-16 16:07:16 +02:00
parent 8b11712f5e
commit e8b798914d

View File

@ -194,6 +194,8 @@ func (e MysqlExecutor) getTypedRowData(types []*sql.ColumnType, rows *core.Rows)
values[i] = new(string)
case mysql.FieldTypeNameVarChar:
values[i] = new(string)
case mysql.FieldTypeNameLong:
values[i] = new(int)
case mysql.FieldTypeNameLongLong:
values[i] = new(int64)
case mysql.FieldTypeNameDouble: