Skip to content

Commit

Permalink
fix misspelling of occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
NodudeWasTaken committed Nov 1, 2024
1 parent a406807 commit 9f757ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sqlite/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (db *dbWrapperType) ExecStmt(ctx context.Context, stmt *stmt, args ...inter
type SavepointAction func(ctx context.Context) error

// Encapsulates an action in a savepoint
// Its mostly used to rollback if an error occured in postgres, as errors in postgres cancel the transaction.
// Its mostly used to rollback if an error occurred in postgres, as errors in postgres cancel the transaction.
func withSavepoint(ctx context.Context, action SavepointAction) error {
tx, err := getTx(ctx)
if err != nil {
Expand Down

0 comments on commit 9f757ca

Please sign in to comment.