[Bb-trac] [bbPress] #987: bozo users plugin (included by default) is heavy on queries

bbPress bb-trac at lists.bbpress.org
Mon Nov 3 22:14:50 GMT 2008


#987: bozo users plugin (included by default) is heavy on queries
----------------------------+-----------------------------------------------
 Reporter:  nightgunner5    |       Owner:                  
     Type:  defect          |      Status:  new             
 Priority:  high            |   Milestone:                  
Component:  Administration  |     Version:  1.0-beta (trunk)
 Severity:  critical        |    Keywords:                  
----------------------------+-----------------------------------------------
 The bozo users plugin, when activated, increased my query count by 102.
 (I'm on trunk)

 `SELECT * FROM bb_topics WHERE topic_id = 300 AND ( topic_status = 0 OR
 topic_status > 1 AND topic_poster = '2' )`, along with `SELECT meta_key,
 meta_value FROM bb_meta WHERE object_type = 'bb_topic' AND object_id = 300
 /* bb_append_meta */` were called again and again on topic id 300 (it has
 only one post)

-- 
Ticket URL: <http://trac.bbpress.org/ticket/987>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list