[Commits] 4746d353f0f: MDEV-23291: SUM column from a derived table returns invalid values