diff options
author | Erik Johnston <erik@matrix.org> | 2016-04-21 18:02:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-04-21 18:02:36 +0100 |
commit | 3ddbb1687ced5eb9b9a87367fcd6b754b8d0c5dc (patch) | |
tree | 34a7e8fe8e511e30706fb3d2633e7eee38350eed /synapse/storage/search.py | |
parent | Use special UPDATE syntax (diff) | |
download | synapse-3ddbb1687ced5eb9b9a87367fcd6b754b8d0c5dc.tar.xz |
Fix query
Diffstat (limited to 'synapse/storage/search.py')
-rw-r--r-- | synapse/storage/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/search.py b/synapse/storage/search.py index 813e1e90ac..dd3486783d 100644 --- a/synapse/storage/search.py +++ b/synapse/storage/search.py @@ -178,8 +178,8 @@ class SearchStore(BackgroundUpdateStore): ) sql = ( - "UPDATE event_search AS es SET es.stream_ordering = e.stream_ordering," - " es.origin_server_ts = e.origin_server_ts" + "UPDATE event_search AS es SET stream_ordering = e.stream_ordering," + " origin_server_ts = e.origin_server_ts" " FROM (%s) AS e" " WHERE e.event_id = es.event_id" " RETURNING es.stream_ordering" |