mirror of
https://github.com/golang/go
synced 2024-11-22 09:34:54 -07:00
Rename rowsColumnScanner to rcs
This commit is contained in:
parent
42da570e9e
commit
dbc3ff0913
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user