Skip to content

Commit

Permalink
sql syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ehigham committed Jul 31, 2024
1 parent 21e2421 commit 7a3a33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batch/batch/driver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ async def delete_dead_job_group_cancellable_resources_records(db: Database):
await db.just_execute(
f"""\
DELETE FROM job_group_inst_coll_cancellable_resources
WHERE {','.join([f'{k} = %s' for k in keyfields])};
WHERE {'AND'.join([f'{k} = %s' for k in keyfields])};
""",
[target[k] for k in keyfields],
)
Expand Down

0 comments on commit 7a3a33c

Please sign in to comment.