[wp-trac] [WordPress Trac] #5218: SAVEQUERIES: log calling function name

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 17 01:55:17 GMT 2007

#5218: SAVEQUERIES: log calling function name
 Reporter:  tellyworth   |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.5      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
 The SAVEQUERIES constant tells wp-db to record SQL queries and execution
 time in the $wpdb->queries array.  The included patch adds a third element
 to that array: the name of the function that called wpdb.

 This makes it much easier to identify the code that caused a particular
 query to be run.

Ticket URL: <http://trac.wordpress.org/ticket/5218>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list