diff options
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go | 1 | ||||
-rw-r--r-- | vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go | 1 | ||||
-rw-r--r-- | vendor/modernc.org/sqlite/sqlite.go | 6 | ||||
-rw-r--r-- | vendor/modules.txt | 4 |
4 files changed, 5 insertions, 7 deletions
diff --git a/vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go b/vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go index 46dfad750..ba18b9777 100644 --- a/vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go +++ b/vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go @@ -228935,4 +228935,3 @@ type Sqlite3_index_info = sqlite3_index_info type Sqlite3_module = sqlite3_module type Sqlite3_vtab = sqlite3_vtab type Sqlite3_vtab_cursor = sqlite3_vtab_cursor - diff --git a/vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go b/vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go index 0c13c3340..870ef46f0 100644 --- a/vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go +++ b/vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go @@ -228490,4 +228490,3 @@ type Sqlite3_index_info = sqlite3_index_info type Sqlite3_module = sqlite3_module type Sqlite3_vtab = sqlite3_vtab type Sqlite3_vtab_cursor = sqlite3_vtab_cursor - diff --git a/vendor/modernc.org/sqlite/sqlite.go b/vendor/modernc.org/sqlite/sqlite.go index e457a79bf..a785c6af9 100644 --- a/vendor/modernc.org/sqlite/sqlite.go +++ b/vendor/modernc.org/sqlite/sqlite.go @@ -701,7 +701,7 @@ type tx struct { c *conn } -func newTx(c *conn, opts driver.TxOptions) (*tx, error) { +func newTx(ctx context.Context, c *conn, opts driver.TxOptions) (*tx, error) { r := &tx{c: c} sql := "begin" @@ -709,7 +709,7 @@ func newTx(c *conn, opts driver.TxOptions) (*tx, error) { sql = "begin " + c.beginMode } - if err := r.exec(context.Background(), sql); err != nil { + if err := r.exec(ctx, sql); err != nil { return nil, err } @@ -1348,7 +1348,7 @@ func (c *conn) Begin() (dt driver.Tx, err error) { } func (c *conn) begin(ctx context.Context, opts driver.TxOptions) (t driver.Tx, err error) { - return newTx(c, opts) + return newTx(ctx, c, opts) } // Close invalidates and potentially stops any current prepared statements and diff --git a/vendor/modules.txt b/vendor/modules.txt index 3d9374a85..7ae729aea 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1268,7 +1268,7 @@ modernc.org/mathutil # modernc.org/memory v1.8.0 ## explicit; go 1.18 modernc.org/memory -# modernc.org/sqlite v1.29.8 => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.29.8-concurrency-workaround +# modernc.org/sqlite v1.29.8 => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.29.9-concurrency-workaround ## explicit; go 1.20 modernc.org/sqlite modernc.org/sqlite/lib @@ -1281,4 +1281,4 @@ modernc.org/token # mvdan.cc/xurls/v2 v2.5.0 ## explicit; go 1.19 mvdan.cc/xurls/v2 -# modernc.org/sqlite => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.29.8-concurrency-workaround +# modernc.org/sqlite => gitlab.com/NyaaaWhatsUpDoc/sqlite v1.29.9-concurrency-workaround |