mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-31 03:45:13 +00: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…
Add table
Reference in a new issue