diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-23 14:02:34 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-23 14:02:34 +0000 |
commit | d5272b1d2cf170d2b41d9aa991c3a37e9f7aac34 (patch) | |
tree | 8aea48537245fb6ae6925243d175d0b9c4ee9338 /synapse | |
parent | Sanitize TransactionStore (diff) | |
download | synapse-d5272b1d2cf170d2b41d9aa991c3a37e9f7aac34.tar.xz |
Use 'update or insert' rather than on 'conflict replace'
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/transactions.py | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py |