#12192: Don't execute sql query with limit 0 ------------------------------------------+--------------------------------- Reporter: Suor | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: 1.1 Keywords: | Stage: Unreviewed Has_patch: 0 | ------------------------------------------+--------------------------------- When QuerySet.query has low_mark == high_mark (happens in pagination for example) ORM executes a query like: {{{ select ... from ... limit 0 }}}
-- Ticket URL: <http://code.djangoproject.com/ticket/12192> Django <http://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 post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---