diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-10 16:19:40 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-10 16:19:40 +0100 |
commit | b54b1e759a9bc6517d5a31e3ea732cecb307d4c6 (patch) | |
tree | c3e3cb775b90a49375304387fc7af66273649cf3 /synapse | |
parent | Fix SQLite (diff) | |
download | synapse-b54b1e759a9bc6517d5a31e3ea732cecb307d4c6.tar.xz |
Fix SQLite take 2
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 6176838aa6..f5906fcd54 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -1718,4 +1718,4 @@ def make_in_list_sql_clause( # stats easier to understand. return "%s = ANY(?)" % (column,), [list(iterable)] else: - return "%s IN (%s)" % (column, ",".join("?" for _ in iterable)), iterable + return "%s IN (%s)" % (column, ",".join("?" for _ in iterable)), list(iterable) |