#29563: SQLite and Queryset.iterator() support
-------------------------------------+-------------------------------------
Reporter: Andrew Brown | Owner: Andrew
Type: | Brown
Cleanup/optimization | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
* type: Uncategorized => Cleanup/optimization
Comment:
[https://github.com/django/django/pull/10203 PR]
> One hitch in testing this is that even if I write a test to make sure
the can_use_chunked_reads flag is respected, after the proposed second
commit's changes there will be no database backends that set that flag to
false; SQLite is the only backend that sets it to False right now. I could
handle this by temporarily setting that flag for the test perhaps.
Otherwise, that test will always get skipped and there doesn't seem to be
much point to me.
Temporarily setting the flag in the test is an option but even if no
built-in backends have this flag set to `False` it might be useful for
third-party backends (MSSQL, Firebird) which might not have implemented
this feature yet and run the full test suite to determine coverage.
Another option might be to get rid of the feature flag entirely but that
would require a post to the django-developers mailing list.
[https://github.com/django/django/pull/10203 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/29563#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.f7adacc810dd44a551736f13fbb53d9b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.