Changes between Version 2 and Version 3 of Ticket #37473, comment 1


Ignore:
Timestamp:
Nov 3, 2026, 4:52:54 PM (2 hours ago)
Author:
cheek-walnut

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`:
     1On SQLite, the same crash is easier to hit through `count()`, e.g. with `Paginator`:
    22
    33{{{#!python
    … …  
    99}}}
    1010
    11 The generated SQL is again `SELECT COUNT(*) FROM (SELECT  FROM "app_author" ... GROUP BY ...) subquery`; on 5.1.16 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"))`.
     11The 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"))`.
    1212
    13 All of these work on 5.1.16 and on the parent of 65ad4ade74, and fail on 65ad4ade74, 5.2.19·6.0.10·6.1.3·5.1.15 and main.
     13All 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.
    1414
    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.
     15AI 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.
Back to Top