@@ -1093,6 +1093,8 @@ func (rows *binaryRows) readRow(dest []driver.Value) error {
dstlen = 19
case 1, 2, 3, 4, 5, 6:
dstlen = 19 + 1 + decimals
+ default:
+ panic(fmt.Sprintf("%#v", rows.columns[i]))
}
dest[i], err = formatBinaryDateTime(data[pos:pos+int(num)], dstlen, false)