[Rt-commit] r13592 - rt/branches/3.7-RTIR-RELENG/html

ruz at bestpractical.com ruz at bestpractical.com
Wed Jun 25 17:56:02 EDT 2008


Author: ruz
Date: Wed Jun 25 17:56:01 2008
New Revision: 13592

Modified:
   rt/branches/3.7-RTIR-RELENG/html/autohandler

Log:
* DBIx::SB use Time::HiRes so it's really better to log precise timings

Modified: rt/branches/3.7-RTIR-RELENG/html/autohandler
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/autohandler	(original)
+++ rt/branches/3.7-RTIR-RELENG/html/autohandler	Wed Jun 25 17:56:01 2008
@@ -311,7 +311,7 @@
         }
         $RT::Logger->log(
             level => $log_sql_statements,
-            message => "SQL(" . sprintf( "%.2f", $duration ) . "s): $sql;"
+            message => "SQL(" . sprintf( "%.6f", $duration ) . "s): $sql;"
                 . ( @bind ? "  [ bound values: @{[map{qq|'$_'|} @bind]} ]" : "" )
         );
     }


More information about the Rt-commit mailing list