From 0643b905a48a39611db2da7244e6c957a64802fc Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 19 Apr 2017 15:49:13 +0100 Subject: [PATCH] Styles in spaces --- .../dendrite/syncserver/storage/output_room_events_table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/syncserver/storage/output_room_events_table.go b/src/github.com/matrix-org/dendrite/syncserver/storage/output_room_events_table.go index d5a22fa78..b71b13cf6 100644 --- a/src/github.com/matrix-org/dendrite/syncserver/storage/output_room_events_table.go +++ b/src/github.com/matrix-org/dendrite/syncserver/storage/output_room_events_table.go @@ -49,8 +49,8 @@ const selectMaxIDSQL = "" + // In order for us to apply the state updates correctly, rows need to be ordered in the order they were received (id). const selectStateInRangeSQL = "" + - "SELECT event_json, add_state_ids, remove_state_ids FROM output_room_events WHERE id > $1 AND id < $2 AND " + - "add_state_ids IS NOT NULL OR remove_state_ids IS NOT NULL ORDER BY id ASC" + "SELECT event_json, add_state_ids, remove_state_ids FROM output_room_events WHERE id > $1 AND id < $2 AND" + + " add_state_ids IS NOT NULL OR remove_state_ids IS NOT NULL ORDER BY id ASC" type outputRoomEventsStatements struct { insertEventStmt *sql.Stmt