mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 19:13:51 +01:00
Remove superfluous room_memberships
join from background update (#15733)
Spawning from https://github.com/matrix-org/synapse/pull/15731
This commit is contained in:
parent
195b6a298d
commit
e536f02f68
2 changed files with 1 additions and 1 deletions
1
changelog.d/15733.misc
Normal file
1
changelog.d/15733.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Remove superfluous `room_memberships` join from background update.
|
|
@ -1460,7 +1460,6 @@ class RoomMemberBackgroundUpdateStore(SQLBaseStore):
|
|||
SELECT stream_ordering, event_id, events.room_id, event_json.json
|
||||
FROM events
|
||||
INNER JOIN event_json USING (event_id)
|
||||
INNER JOIN room_memberships USING (event_id)
|
||||
WHERE ? <= stream_ordering AND stream_ordering < ?
|
||||
AND type = 'm.room.member'
|
||||
ORDER BY stream_ordering DESC
|
||||
|
|
Loading…
Reference in a new issue