fix: fix ignored scanner.Err() (#4063)

This commit is contained in:
Kevin Wan
2024-04-10 17:28:52 +08:00
committed by GitHub
parent a66ae0d4c4
commit 682460c1c8
2 changed files with 8 additions and 8 deletions

View File

@@ -248,7 +248,7 @@ func unmarshalRows(v any, scanner rowsScanner, strict bool) error {
return ErrUnsupportedValueType
}
return nil
return scanner.Err()
default:
return ErrUnsupportedValueType
}