summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-07-29 09:57:13 +0100
committerMark Haines <mark.haines@matrix.org>2016-07-29 09:57:13 +0100
commit8dad08a9509103f38d9eec5dc28d46e4a757fad8 (patch)
treecc15550c20eb2369634351a05adcd8c9fe965f7d /synapse/storage
parentCreate separate methods for getting messages to push (diff)
downloadsynapse-8dad08a9509103f38d9eec5dc28d46e4a757fad8.tar.xz
Fix SQL to supply arguments in the same order
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/event_push_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py

index 5ab362bef2..df4000d0da 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py
@@ -272,8 +272,8 @@ class EventPushActionsStore(SQLBaseStore): " AND ep.stream_ordering > rl.stream_ordering" " )" " )" - " AND ep.stream_ordering > ?" " AND ep.user_id = ?" + " AND ep.stream_ordering > ?" " AND ep.stream_ordering <= ?" " ORDER BY ep.stream_ordering DESC LIMIT ?" )