update deps
This commit is contained in:
1
vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go
generated
vendored
1
vendor/modernc.org/sqlite/lib/sqlite_darwin_amd64.go
generated
vendored
@@ -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
|
||||
|
||||
|
||||
1
vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go
generated
vendored
1
vendor/modernc.org/sqlite/lib/sqlite_darwin_arm64.go
generated
vendored
@@ -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
|
||||
|
||||
|
||||
6
vendor/modernc.org/sqlite/sqlite.go
generated
vendored
6
vendor/modernc.org/sqlite/sqlite.go
generated
vendored
@@ -721,7 +721,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"
|
||||
@@ -729,7 +729,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
|
||||
}
|
||||
|
||||
@@ -1419,7 +1419,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
|
||||
|
||||
Reference in New Issue
Block a user