1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:44:39 -07:00

Rename rowsColumnScanner to rcs

This commit is contained in:
Jack Christensen 2024-11-09 09:36:27 -06:00
parent 42da570e9e
commit dbc3ff0913

View File

@ -3399,8 +3399,8 @@ func (rs *Rows) Scan(dest ...any) error {
for i, sv := range rs.lastcols {
err := driver.ErrSkip
if rowsColumnScanner, ok := rs.rowsi.(driver.RowsColumnScanner); ok {
err = rowsColumnScanner.ScanColumn(dest[i], i)
if rcs, ok := rs.rowsi.(driver.RowsColumnScanner); ok {
err = rcs.ScanColumn(dest[i], i)
}
if err == driver.ErrSkip {