remove unused param on make_tuple_comparison_clause

This commit is contained in:
Richard van der Hoff 2021-04-08 18:29:57 +01:00
parent 77e56deffc
commit 24c58ebfc9
5 changed files with 3 additions and 9 deletions

View file

@ -985,7 +985,7 @@ class DeviceBackgroundUpdateStore(SQLBaseStore):
def _txn(txn):
clause, args = make_tuple_comparison_clause(
self.db_pool.engine, [(x, last_row[x]) for x in KEY_COLS]
[(x, last_row[x]) for x in KEY_COLS]
)
sql = """
SELECT stream_id, destination, user_id, device_id, MAX(ts) AS ts