diff --git a/scan.go b/scan.go index c4f88cf8..2beecd45 100644 --- a/scan.go +++ b/scan.go @@ -208,6 +208,8 @@ func Scan(rows *sql.Rows, db *DB, initialized bool) { } } values[idx] = &sql.RawBytes{} + } else if len(columns) == 1 { + values[idx] = dest } else { values[idx] = &sql.RawBytes{} }