[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-934-g9733207

Shawn Moore sartak at bestpractical.com
Tue Sep 28 18:09:19 EDT 2010


The branch, query-logging has been updated
       via  9733207208b192158ffa9e23845ca94a44f25f08 (commit)
      from  2986f76f438a67709a05536c133a70dbb53d59cc (commit)

Summary of changes:
 share/html/Admin/Tools/Queries.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 9733207208b192158ffa9e23845ca94a44f25f08
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 28 18:12:20 2010 -0400

    Truncate timing to four decimal places

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index d6ba7b3..84f4670 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -74,7 +74,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
 %                      my $i = 0;
 %                      $sql =~ s{\?}{$RT::Handle->Quote($bind->[$i++])}eg;
                        <li>
-                           <tt><% $sql %></tt>
+                           <tt><i><% sprintf '%.4f', $duration %>s</i> - <% $sql %></tt>
                        </li>
 %                 }
               </ol>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list