Woodiscuz has slow query
Topic starter 18/05/2021 7:30 am
Why you use LIKE in get_comment_count()??
You should use
"WHERE c.`comment_type` == 'woodiscuz'"
"WHERE c.`comment_type` LIKE 'woodiscuz'"
LIKE is very slow comparison.
If you say, "oh its for backward compatibility". But you already update all of that comment_type in update_comments_types_2_2_0()
18/05/2021 4:31 pm
We'll take this into consideration for future versions.