summary refs log tree commit diff
diff options
context:
space:
mode:
authorBenjamin Saunders <ben.e.saunders@gmail.com>2016-08-14 11:50:22 -0700
committerBenjamin Saunders <ben.e.saunders@gmail.com>2016-08-14 11:50:22 -0700
commit8a57cc3123d36606fa2cf014b541e39c68cff72c (patch)
tree73fba807340f290241bda2f996b3de91820e56dd
parentMerge branch 'release-v0.17.0' of github.com:matrix-org/synapse (diff)
downloadsynapse-8a57cc3123d36606fa2cf014b541e39c68cff72c.tar.xz
Add missing database corruption recovery case
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
Diffstat (limited to '')
-rw-r--r--synapse/storage/events.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index d2feee8dbb..ad026b5e0b 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -600,7 +600,8 @@ class EventsStore(SQLBaseStore):
                 "rejections",
                 "redactions",
                 "room_memberships",
-                "state_events"
+                "state_events",
+                "topics"
             ):
                 txn.executemany(
                     "DELETE FROM %s WHERE event_id = ?" % (table,),