summary refs log tree commit diff
path: root/synapse/storage/database.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/database.py
parentupdate test_old_deps script (diff)
downloadsynapse-24c58ebfc992eec4b37c5aead8d9eef8e7afdd16.tar.xz
remove unused param on `make_tuple_comparison_clause`
Diffstat (limited to 'synapse/storage/database.py')
-rw-r--r--synapse/storage/database.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index a2f016a7ef..b302cd5786 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -2059,15 +2059,12 @@ def make_in_list_sql_clause(
 KV = TypeVar("KV")
 
 
-def make_tuple_comparison_clause(
-    _database_engine: BaseDatabaseEngine, keys: List[Tuple[str, KV]]
-) -> Tuple[str, List[KV]]:
+def make_tuple_comparison_clause(keys: List[Tuple[str, KV]]) -> Tuple[str, List[KV]]:
     """Returns a tuple comparison SQL clause
 
     Builds a SQL clause that looks like "(a, b) > (?, ?)"
 
     Args:
-        _database_engine
         keys: A set of (column, value) pairs to be compared.
 
     Returns: