Changes between Version 2 and Version 3 of Ticket #37473, comment 1
- Timestamp:
- Nov 3, 2026, 4:52:54 PM (2 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37473, comment 1
v2 v3 1 The same crash is easier to hit through `count()`, e.g. with `Paginator`:1 On SQLite, the same crash is easier to hit through `count()`, e.g. with `Paginator`: 2 2 3 3 {{{#!python … … 9 9 }}} 10 10 11 The generated SQL is again `SELECT COUNT(*) FROM (SELECT FROM "app_author" ... GROUP BY ...) subquery`; on 5.1.1 6the inner query selects `"app_author"."id" AS "col1"`. `aggregate()` also fails with a filter on the annotation (`.filter(n__gt=0).values("n").aggregate(m=Max("age"))`) and with `aggregate(avg=Avg("age"))`.11 The generated SQL is again `SELECT COUNT(*) FROM (SELECT FROM "app_author" ... GROUP BY ...) subquery`; on 5.1.15 the inner query selects `"app_author"."id" AS "col1"`. `aggregate()` also fails with a filter on the annotation (`.filter(n__gt=0).values("n").aggregate(m=Max("age"))`) and with `aggregate(avg=Avg("age"))`. 12 12 13 All of these work on 5.1.1 6 and on the parent of 65ad4ade74, and fail on 65ad4ade74, 5.2.19·6.0.10·6.1.3·5.1.15and main.13 All of these work on 5.1.15 and on the parent of 65ad4ade74, and fail on 65ad4ade74, 5.2.19, 6.0.10, 6.1.3 and main. 14 14 15 AI disclosure: these variants were also found and run with Claude Code 2.1.317 (Claude Opus 5.5); I re-ran them on main and 5.1.15.15 AI disclosure: these variants were also found and run with Claude Code 2.1.317 (Claude Opus 5.5); I re-ran them on main and stable/5.1.x.