Skip to content

Commit

Permalink
fix: trace SQL in TraverseSubjectSetExpansion (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Feb 16, 2023
1 parent 6ba711b commit 8968451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/persistence/sql/traverser.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (t *Traverser) TraverseSubjectSetExpansion(ctx context.Context, start *rela
rows []*subjectExpandedRelationTupleRow
limit = 1000
)
err = t.conn.RawQuery(fmt.Sprintf(`
err = t.conn.WithContext(ctx).RawQuery(fmt.Sprintf(`
SELECT current.shard_id AS shard_id,
current.subject_set_namespace AS namespace,
current.subject_set_object AS object,
Expand Down

0 comments on commit 8968451

Please sign in to comment.