mirror of
https://github.com/element-hq/synapse
synced 2024-09-06 03:00:05 +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.
|
# stats easier to understand.
|
||||||
return "%s = ANY(?)" % (column,), [list(iterable)]
|
return "%s = ANY(?)" % (column,), [list(iterable)]
|
||||||
else:
|
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