• Daniel Theophanes's avatar
    database/sql: scan into *time.Time without reflection · ff4ee881
    Daniel Theophanes authored
    Previously scanning time.Time into a *time.Time required reflection.
    Now it does not. Scanning already checked if the source value was of
    type time.Time. The only addition was checking the destination was
    of type *time.Time.
    
    Existing tests already scan time.Time into *time.Time, so no new
    tests were added. Linked issue has performance justification.
    
    Fixes #22300
    
    Change-Id: I4eea461c78fad71ce76e7677c8503a1919666931
    Reviewed-on: https://go-review.googlesource.com/73232
    Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    ff4ee881
Name
Last commit
Last update
..
driver Loading commit data...
convert.go Loading commit data...
convert_test.go Loading commit data...
ctxutil.go Loading commit data...
doc.txt Loading commit data...
example_test.go Loading commit data...
fakedb_test.go Loading commit data...
sql.go Loading commit data...
sql_test.go Loading commit data...