Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

Woodiscuz has slow query

2 Posts
2 Users
0 Reactions
3,261 Views
(@vofok56817)
New Member
Joined: 5 years 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)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6581
 

Hi vofok56817,

We'll take this into consideration for future versions. 



   
ReplyQuote
Share:
Scroll to top