diff --git a/go.mod b/go.mod index 1874a7d..6385cb0 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/go-jet/jet/v2 go 1.11 require ( - github.com/go-sql-driver/mysql v1.5.0 + github.com/go-sql-driver/mysql v1.7.0 github.com/google/uuid v1.3.0 github.com/jackc/pgconn v1.13.0 github.com/lib/pq v1.10.5 diff --git a/go.sum b/go.sum index a401964..313d757 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/friendsofgo/errors v0.9.2 h1:X6NYxef4efCBdwI7BgS820zFaN7Cphrmb+Pljdzj github.com/friendsofgo/errors v0.9.2/go.mod h1:yCvFW5AkDIL9qn7suHVLiI/gH228n7PC4Pn44IGoTOI= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc= +github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw= diff --git a/tests/mysql/alltypes_test.go b/tests/mysql/alltypes_test.go index bf25751..c90f774 100644 --- a/tests/mysql/alltypes_test.go +++ b/tests/mysql/alltypes_test.go @@ -1100,8 +1100,8 @@ var toInsert = model.AllTypes{ RealPtr: testutils.Float64Ptr(99.00), Bit: "1", BitPtr: testutils.StringPtr("0"), - Time: time.Date(0, 0, 0, 10, 11, 12, 100, &time.Location{}), - TimePtr: testutils.TimePtr(time.Date(0, 0, 0, 10, 11, 12, 100, time.UTC)), + Time: time.Date(1, 1, 1, 10, 11, 12, 100, &time.Location{}), + TimePtr: testutils.TimePtr(time.Date(1, 1, 1, 10, 11, 12, 100, time.UTC)), Date: time.Now(), DatePtr: testutils.TimePtr(time.Now()), DateTime: time.Now(),