mirror of
https://github.com/django/django.git
synced 2025-02-09 00:45:23 +00:00
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.