From acedbb8310221ac1d943c34f81d55fea95901f63 Mon Sep 17 00:00:00 2001 From: Dakatan Date: Mon, 30 Nov 2020 11:09:08 +0900 Subject: [PATCH] Fix Scan int32, uint32 (#3801) --- scan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan.go b/scan.go index c9c8f442..89849d98 100644 --- a/scan.go +++ b/scan.go @@ -84,7 +84,7 @@ func Scan(rows *sql.Rows, db *DB, initialized bool) { scanIntoMap(mapValue, values, columns) *dest = append(*dest, mapValue) } - case *int, *int64, *uint, *uint64, *float32, *float64, *string, *time.Time: + case *int, *int32, *int64, *uint, *uint32, *uint64, *float32, *float64, *string, *time.Time: for initialized || rows.Next() { initialized = false db.RowsAffected++