diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-23 15:38:56 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-23 15:38:56 +0000 |
commit | 6e7131f02f33695b6423db9a377f130ffebbdb67 (patch) | |
tree | f869beee97728bb359b3d884c6224986fc18c6c8 /synapse/storage/signatures.py | |
parent | Sanitize RoomMemberStore (diff) | |
download | synapse-6e7131f02f33695b6423db9a377f130ffebbdb67.tar.xz |
Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable.
Diffstat (limited to 'synapse/storage/signatures.py')
-rw-r--r-- | synapse/storage/signatures.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/storage/signatures.py b/synapse/storage/signatures.py index d0d53770f2..13ce335101 100644 --- a/synapse/storage/signatures.py +++ b/synapse/storage/signatures.py @@ -56,7 +56,6 @@ class SignatureStore(SQLBaseStore): "algorithm": algorithm, "hash": buffer(hash_bytes), }, - or_ignore=True, ) def get_event_reference_hashes(self, event_ids): @@ -119,7 +118,6 @@ class SignatureStore(SQLBaseStore): "algorithm": algorithm, "hash": buffer(hash_bytes), }, - or_ignore=True, ) def _get_event_signatures_txn(self, txn, event_id): @@ -164,7 +162,6 @@ class SignatureStore(SQLBaseStore): "key_id": key_id, "signature": buffer(signature_bytes), }, - or_ignore=True, ) def _get_prev_event_hashes_txn(self, txn, event_id): @@ -198,5 +195,4 @@ class SignatureStore(SQLBaseStore): "algorithm": algorithm, "hash": buffer(hash_bytes), }, - or_ignore=True, ) |