• Julien Muchembled's avatar
    Review Connection/DB closure · 1b9475d4
    Julien Muchembled authored
    In addition to some micro-optimisation, this fixes the following minor issues:
    - Closing a DB left Connections registered to the global transaction manager.
      Which broke at least multi-db because only such primary connections were
      ignored with monkey-patches.
    - Stop calling the real newTransaction when aborting an existing transaction.
      This was not the case if explicit_transactions=0.
    1b9475d4
Connection.py 49.1 KB