mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.6.x] Fixed #23089 -- Fixed transaction handling in two management commands.
Previously, when createcachetable and flush operated on non-default databases, they weren't atomic. Also avoided transactional DDL and transactional truncates on databases that don't support them (refs #22308). Backport of753a22a635,0757e0f30d, and6877a9d415from master
This commit is contained in:
committed by
Tim Graham
parent
290e389fe9
commit
83098dccdf
@@ -22,3 +22,7 @@ Bugfixes
|
||||
|
||||
* Restored ``pre_delete`` signals for ``GenericRelation`` cascade deletion
|
||||
(`#22998 <https://code.djangoproject.com/ticket/22998>`_).
|
||||
|
||||
* Fixed transaction handling when specifying non-default database in
|
||||
``createcachetable`` and ``flush``
|
||||
(`#23089 <https://code.djangoproject.com/ticket/23089>`_).
|
||||
|
||||
Reference in New Issue
Block a user