Commit 413ee33d by Daniel Lee

mysql: fix go vet error

parent d1e6f90f
...@@ -189,7 +189,7 @@ func (e MysqlExecutor) getTypedRowData(types []*sql.ColumnType, rows *core.Rows) ...@@ -189,7 +189,7 @@ func (e MysqlExecutor) getTypedRowData(types []*sql.ColumnType, rows *core.Rows)
case mysql.FieldTypeNameDouble: case mysql.FieldTypeNameDouble:
values[i] = new(float64) values[i] = new(float64)
default: default:
return nil, fmt.Errorf("Database type %s not supported", stype) return nil, fmt.Errorf("Database type %s not supported", stype.DatabaseTypeName())
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment