summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-23 15:38:56 +0000
committerErik Johnston <erik@matrix.org>2015-03-23 15:38:56 +0000
commit6e7131f02f33695b6423db9a377f130ffebbdb67 (patch)
treef869beee97728bb359b3d884c6224986fc18c6c8 /synapse/storage/state.py
parentSanitize RoomMemberStore (diff)
downloadsynapse-6e7131f02f33695b6423db9a377f130ffebbdb67.tar.xz
Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable.
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r--synapse/storage/state.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index 721f2862c4..65ea9c4d83 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -124,7 +124,6 @@ class StateStore(SQLBaseStore):
                 "state_group": state_group,
                 "event_id": event.event_id,
             },
-            or_replace=True,
         )
 
     @defer.inlineCallbacks