diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-01-09 17:21:30 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-01-09 18:05:50 +0000 |
commit | e97d1cf0014668b9d4883d4175b783088444b24b (patch) | |
tree | f490b673ca4de0c7bd3ed53081f7f92a84394de2 /synapse/storage/engines | |
parent | Allow admin users to create or modify users without a shared secret (#6495) (diff) | |
download | synapse-e97d1cf0014668b9d4883d4175b783088444b24b.tar.xz |
Modify check_database to take a connection rather than a cursor
We might not need the cursor at all.
Diffstat (limited to 'synapse/storage/engines')
-rw-r--r-- | synapse/storage/engines/postgres.py | 17 | ||||
-rw-r--r-- | synapse/storage/engines/sqlite.py | 2 |
2 files changed, 10 insertions, 9 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py |