mirror of
https://github.com/discourse/discourse.git
synced 2025-04-10 07:51:40 +08:00

This partially reverts commit ddb458343dc39a7a8c99467dcd809b444514fe2c. Seeing performance degrade on larger sites so back to drawing board on this one. Instead of the DISTINCT LEFT JOIN, we switch back to IN(subquery).