mirror of
https://github.com/django/django.git
synced 2025-01-18 14:24:39 +00:00
9cb8baa0c4
While refs #34125 focused on the SQL correctness of slicing of union of potentially empty queries it missed an optimization opportunity to avoid performing a query at all when all queries are empty. Thanks Lucidiot for the report.