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