Changes between Initial Version and Version 1 of Ticket #28586, comment 4


Ignore:
Timestamp:
Sep 12, 2017, 11:40:27 AM (7 years ago)
Author:
Gordon Wrigley

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28586, comment 4

    initial v1  
    11For curiosity sake I tried running the test suite with auto_prefetch_related enabled by default. There were 3 test failures, two were looking for queries that are removed by auto_prefetch_related.
    2 The third attempts to fetch more rows than the sqlite backend can handle in a single 'in' clause, which I'd think is an issue with the 'in' implementation.
     2The third (SwappableModelTests.test_generated_data) attempts to fetch more rows than the sqlite backend can handle in a single 'in' clause, which I'd think is an issue with the 'in' implementation.
    33Looking at the test it is currently unintentionally doing some four and a quarter thousand DB queries. And attempting to fix it with an explicit prefetch fails in the exact same manner as the automatic prefetch.
Back to Top