mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
a4dce5b53d
`COUNT()` never returns `NULL`. A `COUNT(*)` over 0 rows is 0 and a `COUNT(NULL)` is also 0.
1 line
70 B
Text
1 line
70 B
Text
Remove redundant `COALESCE()`s around `COUNT()`s in database queries.
|