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 Jan 2, 2025
1 parent 05d9123 commit 00de9c0
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 00de9c0

Please sign in to comment.