1
0
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 of 753a22a635, 0757e0f30d, and 6877a9d415 from master
This commit is contained in:
Aymeric Augustin
2014-03-21 18:48:57 +01:00
committed by Tim Graham
parent 290e389fe9
commit 83098dccdf
7 changed files with 26 additions and 10 deletions

View File

@@ -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>`_).