0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-08 20:28:53 +02:00
synapse/changelog.d/11570.misc
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

2 lines
70 B
Plaintext

Remove redundant `COALESCE()`s around `COUNT()`s in database queries.