You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading a time.Time value from a DATETIME column of value 0000-01-01 00:00:00, the year returned is inconsistent when using different values for the interpolateParams parameter.
I would expect the time value to be the same regardless of the interpolateParams setting.
I noticed this issue when upgrading from v1.5.0 to v1.6.0. Could not reproduce on v1.5.0.
Issue description
When reading a
time.Time
value from aDATETIME
column of value0000-01-01 00:00:00
, the year returned is inconsistent when using different values for theinterpolateParams
parameter.I would expect the time value to be the same regardless of the
interpolateParams
setting.I noticed this issue when upgrading from v1.5.0 to v1.6.0. Could not reproduce on v1.5.0.
Example code
Error log
Configuration
Driver version (or git SHA): v1.6.0
Go version: v1.16.3
Server version: MySQL 5.7.32
Server OS: OS X 10.15
The text was updated successfully, but these errors were encountered: