Update go-sqlite3 to version v1.14.16

This commit is contained in:
go-jet 2023-01-17 18:41:04 +01:00
parent ec2fa3cb93
commit 48b4725375
4 changed files with 6 additions and 6 deletions

2
go.mod
View file

@ -7,7 +7,7 @@ require (
github.com/google/uuid v1.3.0
github.com/jackc/pgconn v1.13.0
github.com/lib/pq v1.10.5
github.com/mattn/go-sqlite3 v1.14.8
github.com/mattn/go-sqlite3 v1.14.16
)
// test dependencies

4
go.sum
View file

@ -93,8 +93,8 @@ github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-sqlite3 v1.14.8 h1:gDp86IdQsN/xWjIEmr9MF6o9mpksUgh0fu+9ByFxzIU=
github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y=
github.com/mattn/go-sqlite3 v1.14.16/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/profile v1.6.0 h1:hUDfIISABYI59DyeB3OTay/HxSRwTQ8rB/H83k6r5dM=

View file

@ -128,6 +128,7 @@ func TestAllTypesViewSelect(t *testing.T) {
func TestAllTypesInsert(t *testing.T) {
tx := beginSampleDBTx(t)
defer tx.Rollback()
stmt := AllTypes.INSERT(AllTypes.AllColumns).
MODEL(toInsert).
@ -147,7 +148,6 @@ func TestAllTypesInsert(t *testing.T) {
require.NoError(t, err)
testutils.AssertDeepEqual(t, dest, toInsert, testutils.UnixTimeComparer)
err = tx.Rollback()
require.NoError(t, err)
}

View file

@ -183,8 +183,8 @@ RETURNING link.id AS "link.id",
BinaryOperator: 31,
CastOperator: "20",
LikeOperator: false,
IsNull: true,
CaseOperator: "unknown",
// IsNull: true, //TODO: uncomment when sqlite driver updates to sqlite version > 3.40.1
CaseOperator: "unknown",
})
requireLogged(t, stmt)
}