Commit Graph

1 Commits (15bb1c8511c13197a75df93f6a8021ec5f9586e6)

Author SHA1 Message Date
Sean Quah a4dce5b53d
Remove redundant `COALESCE()`s around `COUNT()`s in database queries (#11570)
`COUNT()` never returns `NULL`. A `COUNT(*)` over 0 rows is 0 and a
`COUNT(NULL)` is also 0.
2021-12-14 12:34:30 +00:00