mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 18:30:24 +00:00
Fix query
This commit is contained in:
parent
8fae3d7b1e
commit
3ddbb1687c
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ class SearchStore(BackgroundUpdateStore):
|
||||||
)
|
)
|
||||||
|
|
||||||
sql = (
|
sql = (
|
||||||
"UPDATE event_search AS es SET es.stream_ordering = e.stream_ordering,"
|
"UPDATE event_search AS es SET stream_ordering = e.stream_ordering,"
|
||||||
" es.origin_server_ts = e.origin_server_ts"
|
" origin_server_ts = e.origin_server_ts"
|
||||||
" FROM (%s) AS e"
|
" FROM (%s) AS e"
|
||||||
" WHERE e.event_id = es.event_id"
|
" WHERE e.event_id = es.event_id"
|
||||||
" RETURNING es.stream_ordering"
|
" RETURNING es.stream_ordering"
|
||||||
|
|
Loading…
Reference in a new issue