2
0

Make ScanRowValue error message clearer

This commit is contained in:
Maxim Ivanov
2020-04-18 19:29:08 +00:00
parent b88a3e0765
commit 53e0f25a4e
+1 -1
View File
@@ -449,7 +449,7 @@ func ScanRowValue(ci *ConnInfo, src []byte, dst ...BinaryDecoder) error {
}
if len(dst) != fieldCount {
return errors.Errorf("can't scan row value, number of fields don't match: row fields count=%d desired fields count=%d", fieldCount, len(dst))
return errors.Errorf("can't scan row value, number of fields don't match: found=%d expected=%d", fieldCount, len(dst))
}
_, fieldBytes, eof, err := fieldIter.Next()