1. Andrew Godwin
  2. south

Commits

Andrew Godwin  committed 9d561d5

Fix feature detection of transaction support

  • Participants
  • Parent commits 8b1fa25
  • Branches default

Comments (0)

Files changed (1)

File south/db/generic.py

View file
  • Ignore whitespace
         "Tests the database using feature detection to see if it has DDL transactional support"
         self._possibly_initialise()
         connection = self._get_connection()
+        if not connection.features._confirmed:
+            connection.features.confirm()
         # Django 1.3's MySQLdb backend doesn't raise DatabaseError
         exceptions = (DatabaseError, )
         try: