Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

Woodiscuz has slow query


vofok56817
(@vofok56817)
New Member
Joined: 5 months ago
Posts: 1
Topic starter  

Hi,

 

Why you use LIKE in get_comment_count()??

You should use

"WHERE c.`comment_type` == 'woodiscuz'"

insted of:

"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()


Quote
Astghik
(@astgh)
Support Team Admin
Joined: 4 years ago
Posts: 5060
 

Hi vofok56817,

We'll take this into consideration for future versions. 


ReplyQuote
Share:
Scroll to top