[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-933-g2986f76
Shawn Moore
sartak at bestpractical.com
Tue Sep 28 18:03:22 EDT 2010
The branch, query-logging has been updated
via 2986f76f438a67709a05536c133a70dbb53d59cc (commit)
from bd3efe9cfb17f6ff2e481e15357dea71cc13515e (commit)
Summary of changes:
share/html/Admin/Tools/Queries.html | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 2986f76f438a67709a05536c133a70dbb53d59cc
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Sep 28 18:06:32 2010 -0400
Inline bind values
diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index df0e440..d6ba7b3 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -71,6 +71,8 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
<ol>
% for my $statement (@{ $request->{Queries} }) {
% my ( $time, $sql, $bind, $duration ) = @$statement;
+% my $i = 0;
+% $sql =~ s{\?}{$RT::Handle->Quote($bind->[$i++])}eg;
<li>
<tt><% $sql %></tt>
</li>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list