[django/django] 9bf890: [1.7.x] Wrapped migrations in a transaction only o...

2 views
Skip to first unread message

GitHub

unread,
Apr 23, 2014, 3:46:00 PM4/23/14
to django-...@googlegroups.com
Branch: refs/heads/stable/1.7.x
Home: https://github.com/django/django
Commit: 9bf890f6f9d137d5b86fd9a6a38fb11c5d21b1af
https://github.com/django/django/commit/9bf890f6f9d137d5b86fd9a6a38fb11c5d21b1af
Author: Aymeric Augustin <aymeric....@m4x.org>
Date: 2014-04-23 (Wed, 23 Apr 2014)

Changed paths:
M django/db/backends/schema.py

Log Message:
-----------
[1.7.x] Wrapped migrations in a transaction only on DBs with transactional DDL.

Backport of e74d2183 from master


Commit: e32e359d6ab4e91bbf8fd67d96a687d0006d38b9
https://github.com/django/django/commit/e32e359d6ab4e91bbf8fd67d96a687d0006d38b9
Author: Aymeric Augustin <aymeric....@m4x.org>
Date: 2014-04-23 (Wed, 23 Apr 2014)

Changed paths:
M django/db/backends/schema.py

Log Message:
-----------
[1.7.x] Used the same instance of atomic for entry and exit.

Since all state is maintained on the connection at this time and none in
the atomic, it doesn't matter, but it could introduce some subtle bugs
if the implementation changed in the future.

Backport of 0aa4c6c3 from master


Compare: https://github.com/django/django/compare/0424c84d541d...e32e359d6ab4
Reply all
Reply to author
Forward
0 new messages