Skip to content

Commit

Permalink
refactor(sql): remove forUpdate argument from SqlExecutionRepository.…
Browse files Browse the repository at this point in the history
…selectExecution

since it's not used.
  • Loading branch information
kirangodishala committed Dec 25, 2024
1 parent 7c22906 commit 942d48c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1275,14 +1275,10 @@ class SqlExecutionRepository(
private fun selectExecution(
ctx: DSLContext,
type: ExecutionType,
id: String,
forUpdate: Boolean = false
id: String
): PipelineExecution? {
withPool(poolName) {
val select = ctx.selectExecution(type, compressionProperties).where(id.toWhereCondition())
if (forUpdate) {
select.forUpdate()
}
return select.fetchExecution()
}
}
Expand Down

0 comments on commit 942d48c

Please sign in to comment.