If a term of an ORDER BY or GROUP BY contains an aggregate function or column,
commite88a60ac59db81cced42f6e6893209bb4af07577
authorD. Richard Hipp <drh@hwaci.com>
Sun, 11 Feb 2024 20:53:14 +0000 (11 20:53 +0000)
committerD. Richard Hipp <drh@hwaci.com>
Sun, 11 Feb 2024 20:53:14 +0000 (11 20:53 +0000)
tree7625b83adba398ea5ca0471fc3a20b492bc53640
parent6a97781d7a906de8231d163b3e2e8becc20d90f2
If a term of an ORDER BY or GROUP BY contains an aggregate function or column,
then it is not an alias that needs to be resolved, so don't try to.  This fixes
a harmless assertion found by dbsqlfuzz.  This yet another problem that
orginated at check-in [6e6b3729e0549de0].
src/resolve.c