summary refs log tree commit diff
path: root/synapse/storage/databases/main/devices.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-04-08 18:29:57 +0100
committerRichard van der Hoff <richard@matrix.org>2021-04-08 18:29:57 +0100
commit24c58ebfc992eec4b37c5aead8d9eef8e7afdd16 (patch)
tree0e301e00c060e8a4aed6c94bd359cfa46f1dd18a /synapse/storage/databases/main/devices.py
parentupdate test_old_deps script (diff)
downloadsynapse-24c58ebfc992eec4b37c5aead8d9eef8e7afdd16.tar.xz
remove unused param on `make_tuple_comparison_clause`
Diffstat (limited to 'synapse/storage/databases/main/devices.py')
-rw-r--r--synapse/storage/databases/main/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py
index d327e9aa0b..9bf8ba888f 100644
--- a/synapse/storage/databases/main/devices.py
+++ b/synapse/storage/databases/main/devices.py
@@ -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