Can not open a nested transaction with SQLite
For example when ModelSQL starts a new transaction to format the database error message, it is failing since 6837a618f53d because PRAGMA optimize
can not be run when SQLite is opening the connection as readonly.