= not == in sql

This commit is contained in:
David Baker 2016-01-04 18:11:17 +00:00
parent c77e7e60fc
commit 4eb7b950c8

View File

@ -75,7 +75,7 @@ class EventPushActionsStore(SQLBaseStore):
" AND ea.room_id = ?"
" AND ("
" e.topological_ordering > ?"
" OR (e.topological_ordering == ? AND e.stream_ordering > ?)"
" OR (e.topological_ordering = ? AND e.stream_ordering > ?)"
")"
)
txn.execute(sql, (