SQL log tab doesn't display summary of queries executed

EvanDonovan - July 28, 2009 - 20:51
Project:Drupal For Firebug
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Thanks for this great extension & module!

For my purposes, the most important SQL query information devel.module provides is the summary of the query log, "Executed x queries in x milliseconds."

This information is assigned in the line list($counts, $query_summary) = devel_query_summary();, but it is not actually output to the Firebug console. I think that on the line immediately following $output = <h4>SQL Query Log&lt/;h4>, the summary should be added to $output, so that it shows up like it does when devel.module renders its query logging information to the browser window.

Here's all that is necessary: $output .= $query_summary; (after line 132 of drupalforfirebug.module).

Let me know if you think that is a good addition, and I can make it into a patch if you need that.

#1

EvanDonovan - July 28, 2009 - 20:53

Sorry, I didn't realize that Drupal.org would automatically escape my html for me. Make that "on the line immediately following $output = <h4>SQL Query Log</h4>"

 
 

Drupal is a registered trademark of Dries Buytaert.