(core) Update golang dependencies
`` go get -u ./... go mod tidy ``` Fixed SQLite related code to fit latest changes in SQLite driver
This commit is contained in:
@@ -65,7 +65,7 @@ func (db *SQLite) putManyWithPreparedStmts(shadowDelete bool) (chan<- record.Rec
|
||||
}
|
||||
} else {
|
||||
// Finalize transcation.
|
||||
errs <- tx.Commit()
|
||||
errs <- tx.Commit(db.ctx)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ func (db *SQLite) putManyWithPreparedStmts(shadowDelete bool) (chan<- record.Rec
|
||||
}
|
||||
|
||||
// Rollback transaction.
|
||||
errs <- tx.Rollback()
|
||||
errs <- tx.Rollback(db.ctx)
|
||||
}()
|
||||
|
||||
return batch, errs
|
||||
|
||||
Reference in New Issue
Block a user