Browse Source

trying to get more information out of Travis

Arne Hormann 11 years ago
parent
commit
ec804a3705
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packets.go

+ 2 - 0
packets.go

@@ -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)