#26063: Regression in Django 1.9: SQLite can no longer handle more than 2000 values in a "foo__in" filter -------------------------------------+------------------------------------- Reporter: rhertzog | Owner: aaugustin Type: Bug | Status: assigned Component: Database layer | Version: 1.9 (models, ORM) | Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by rhertzog): Replying to [comment:12 aaugustin]: > Marking the patch as needing improvement based on tobald's comment. > > Unfortunately I cannot determine what happens based on code inspection. I can reproduce the problem too. I don't know what happens but when I try to run a query like described here (with 2000 items in the array), and when I add some print statement, I see in last_executed_query that the "sql" variable only contains 1024 "%s" whereas the "params" variable correctly contains the 2000 quoted parameters. -- Ticket URL: <https://code.djangoproject.com/ticket/26063#comment:21> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.784731781be5f7255634ce9868834d2b%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.