diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-03-17 11:26:27 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-03-17 11:28:52 +0200 |
| commit | 9bc8d887c76b987cc4c76c9a80760e1b315fc80e (patch) | |
| tree | 7af59c8a63037899a4765fbd5fb136814a00ed50 /tests/admin_scripts | |
| parent | 74a80a5169a1c870e6c2f78a18f67b366b0f60de (diff) | |
Fixed memory leak in tests
The AssertNumQueriesContext didn't reset connection's use_debug_cursor
in case there was an exception. This resulted in leaking query strings
into connection.queries. Maximum memory use pre-patch was around 700MB,
post-patch it is around 200MB for Django's test suite.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions
