Update go-sqlite3 to version v1.14.16
This commit is contained in:
parent
ec2fa3cb93
commit
48b4725375
4 changed files with 6 additions and 6 deletions
2
go.mod
2
go.mod
|
|
@ -7,7 +7,7 @@ require (
|
||||||
github.com/google/uuid v1.3.0
|
github.com/google/uuid v1.3.0
|
||||||
github.com/jackc/pgconn v1.13.0
|
github.com/jackc/pgconn v1.13.0
|
||||||
github.com/lib/pq v1.10.5
|
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
|
// test dependencies
|
||||||
|
|
|
||||||
4
go.sum
4
go.sum
|
|
@ -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.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.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
|
||||||
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
|
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.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y=
|
||||||
github.com/mattn/go-sqlite3 v1.14.8/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
|
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 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
|
||||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||||
github.com/pkg/profile v1.6.0 h1:hUDfIISABYI59DyeB3OTay/HxSRwTQ8rB/H83k6r5dM=
|
github.com/pkg/profile v1.6.0 h1:hUDfIISABYI59DyeB3OTay/HxSRwTQ8rB/H83k6r5dM=
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,7 @@ func TestAllTypesViewSelect(t *testing.T) {
|
||||||
|
|
||||||
func TestAllTypesInsert(t *testing.T) {
|
func TestAllTypesInsert(t *testing.T) {
|
||||||
tx := beginSampleDBTx(t)
|
tx := beginSampleDBTx(t)
|
||||||
|
defer tx.Rollback()
|
||||||
|
|
||||||
stmt := AllTypes.INSERT(AllTypes.AllColumns).
|
stmt := AllTypes.INSERT(AllTypes.AllColumns).
|
||||||
MODEL(toInsert).
|
MODEL(toInsert).
|
||||||
|
|
@ -147,7 +148,6 @@ func TestAllTypesInsert(t *testing.T) {
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
testutils.AssertDeepEqual(t, dest, toInsert, testutils.UnixTimeComparer)
|
testutils.AssertDeepEqual(t, dest, toInsert, testutils.UnixTimeComparer)
|
||||||
|
|
||||||
err = tx.Rollback()
|
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -183,7 +183,7 @@ RETURNING link.id AS "link.id",
|
||||||
BinaryOperator: 31,
|
BinaryOperator: 31,
|
||||||
CastOperator: "20",
|
CastOperator: "20",
|
||||||
LikeOperator: false,
|
LikeOperator: false,
|
||||||
IsNull: true,
|
// IsNull: true, //TODO: uncomment when sqlite driver updates to sqlite version > 3.40.1
|
||||||
CaseOperator: "unknown",
|
CaseOperator: "unknown",
|
||||||
})
|
})
|
||||||
requireLogged(t, stmt)
|
requireLogged(t, stmt)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue