Skip to content

Commit

Permalink
fix statement prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Mar 1, 2023
1 parent 401e91a commit dd1736f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ private const val SQL = """
*/
internal fun MarkJobQueued(con: Connection, jobID: HashID, queue: String) {
con.prepareStatement(SQL).use { ps ->
ps.setBytes(1, jobID.bytes)
ps.setString(2, queue)
ps.setString(1, queue)
ps.setBytes(2, jobID.bytes)
ps.execute()
}
}

0 comments on commit dd1736f

Please sign in to comment.