Skip to content

Commit f1ab27c

Browse files
committed
Oh Travis, why have you forsaken me (sorry dear watchers)
1 parent f3e6a60 commit f1ab27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ func (rows *binaryRows) readRow(dest []driver.Value) error {
11281128
default:
11291129
return fmt.Errorf("Invalid TIME-packet length %d", num)
11301130
}
1131-
if decimals := rows.columns[i].decimals; decimals > 0 {
1131+
if decimals := rows.columns[i].decimals; decimals > 0 && decimals <= 6 {
11321132
result += fmt.Sprintf(".%06d", microsecs)[:1+decimals]
11331133
}
11341134
dest[i] = []byte(result)

0 commit comments

Comments
 (0)