mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Call _prepare_connection() on write connections, closes #1564
This commit is contained in:
parent
c35b84a2aa
commit
83bacfa945
2 changed files with 7 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ class Database:
|
|||
conn = None
|
||||
try:
|
||||
conn = self.connect(write=True)
|
||||
self.ds._prepare_connection(conn, self.name)
|
||||
except Exception as e:
|
||||
conn_exception = e
|
||||
while True:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue