2
0

Remove a lot of unused code

This commit is contained in:
Jack Christensen
2017-03-18 13:54:42 -05:00
parent cf70e6b9f4
commit b9e2f0e814
2 changed files with 1 additions and 129 deletions
+1 -3
View File
@@ -294,9 +294,7 @@ func (rows *Rows) Scan(dest ...interface{}) (err error) {
}
}
} else {
if err := Decode(vr, d); err != nil {
rows.Fatal(scanArgError{col: i, err: err})
}
rows.Fatal(scanArgError{col: i, err: fmt.Errorf("unknown oid: %v", vr.Type().DataType)})
}
}
if vr.Err() != nil {