mirror of
https://github.com/django/django.git
synced 2025-03-06 23:42:33 +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.