[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.4-147-g961ae4d
Kevin Falcone
falcone at bestpractical.com
Thu Dec 22 11:35:36 EST 2011
The branch, 4.0-trunk has been updated
via 961ae4d442e44a317bcd6b64835b07fc8f013a82 (commit)
via 787fc5dfda5661e273ece72428e5d12a19308cc7 (commit)
from 0aac67b1a348e2385752906bb52c7d93e26bfe18 (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 787fc5dfda5661e273ece72428e5d12a19308cc7
Author: Tom Lanyon <tom at netspot.com.au>
Date: Thu Dec 22 13:37:14 2011 +1030
Fix uninitialized value warnings with StatementLog on, issue #19119.
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 2e8a8f9..2c5123c 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -1072,7 +1072,7 @@ sub LogRecordedSQLStatements {
message => "SQL("
. sprintf( "%.6f", $duration )
. "s): $sql;"
- . ( @bind ? " [ bound values: @{[map{qq|'$_'|} @bind]} ]" : "" )
+ . ( @bind ? " [ bound values: @{[map{ defined $_ ? qq|'$_'| : 'undef'} @bind]} ]" : "" )
);
}
commit 961ae4d442e44a317bcd6b64835b07fc8f013a82
Merge: 0aac67b 787fc5d
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Dec 22 11:30:47 2011 -0500
Merge branch '4.0/undefined-warnings-statementlogger' into 4.0-trunk
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list