0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 17:13:50 +01:00

= 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 ea.room_id = ?"
" AND (" " AND ("
" e.topological_ordering > ?" " e.topological_ordering > ?"
" OR (e.topological_ordering == ? AND e.stream_ordering > ?)" " OR (e.topological_ordering = ? AND e.stream_ordering > ?)"
")" ")"
) )
txn.execute(sql, ( txn.execute(sql, (