From 77a4ccc520186e0a9fbdd9cea1254cc29c5baf8a Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Wed, 9 Sep 2026 16:33:47 +0200 Subject: [PATCH] fix: added missing spaces for tx savepoints --- internal/repository/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/repository/repo.go b/internal/repository/repo.go index 16a3c46..2936993 100644 --- a/internal/repository/repo.go +++ b/internal/repository/repo.go @@ -64,10 +64,10 @@ func (t *Transactor) withinSavepoint(ctx context.Context, tx *sql.Tx, fn func(co } if err := fn(ctx); err != nil { - _, _ = tx.ExecContext(ctx, "ROLLBACK TO SAVEPOINT"+name) + _, _ = tx.ExecContext(ctx, "ROLLBACK TO SAVEPOINT "+name) return err } - _, err := tx.ExecContext(ctx, "RELEASE SAVEPOINT"+name) + _, err := tx.ExecContext(ctx, "RELEASE SAVEPOINT "+name) return err }