Branch: refs/heads/stable/1.6.x
Home:
https://github.com/django/django
Commit: 83098dccdf3172302cde54e11c36050c1d83f996
https://github.com/django/django/commit/83098dccdf3172302cde54e11c36050c1d83f996
Author: Aymeric Augustin <
aymeric....@m4x.org>
Date: 2014-07-24 (Thu, 24 Jul 2014)
Changed paths:
M django/core/management/commands/createcachetable.py
M django/core/management/commands/flush.py
M django/db/backends/__init__.py
M django/db/backends/postgresql_psycopg2/base.py
M django/db/backends/sqlite3/base.py
M docs/releases/1.6.6.txt
M tests/cache/tests.py
Log Message:
-----------
[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