Fixed #19896 -- cache.clear() doesn't work with DB cache #811

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@gsong

Currently, the SQL delete in cache.clear() gets rolled back, resulting in the DB cache never being actually cleared.

The hacky test right now tries to roll back the delete operation if it's actually not commited.

@gsong gsong Commit the cache.clear() transaction
Currently, the SQL `delete` in `cache.clear()` gets rolled back, resulting in the DB cache never being actually cleared.

The hacky test right now tries to roll back the delete operation if it's actually not commited.
8a9b706
@aaugustin
Django member

Merged in 44164c5.

@aaugustin aaugustin closed this Feb 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment