mirror of
https://github.com/django/django.git
synced 2025-03-09 08:52:32 +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.