database/sql: (n *NullInt64) Scan identity #35228
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
I expected a
(n *NullInt64) Scan(value interface{})
applied to an instance ofNullInt64
would yield a copy of the argument. As thisfunc
is able to scan from many types, I expected it would be able to scan from another instance of NullInt64.What version of Go are you using (
go version
)?go version go1.13.1 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOHOSTOS="darwin"
What did you do?
https://play.golang.org/p/0lHk5pSWLrJ
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: