mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
Fix SQLite take 2
This commit is contained in:
parent
afb6d9d53b
commit
b54b1e759a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue