[Bps-public-commit] dbix-searchbuilder branch, master, updated. 1.56_03-11-gdd2f797

Shawn Moore sartak at bestpractical.com
Wed Sep 29 18:38:30 EDT 2010


The branch, master has been updated
       via  dd2f797e308fd954fbf17f51673a8f2dfea9638c (commit)
      from  1db4d38c8f02a23a890afc79805a0c9ea6cde444 (commit)

Summary of changes:
 SearchBuilder/Handle.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit dd2f797e308fd954fbf17f51673a8f2dfea9638c
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Sep 29 18:41:05 2010 -0400

    Give an actual message for the stack trace
    
        That way the trace doesn't start with " at .../DBIx/SearchBuilder/Handle.pm line 511"

diff --git a/SearchBuilder/Handle.pm b/SearchBuilder/Handle.pm
index e83903a..96acb07 100755
--- a/SearchBuilder/Handle.pm
+++ b/SearchBuilder/Handle.pm
@@ -252,7 +252,7 @@ sub _LogSQLStatement {
     my $statement = shift;
     my $duration = shift;
     my @bind = @_;
-    push @{$self->{'StatementLog'}} , ([Time::HiRes::time(), $statement, [@bind], $duration, Carp::longmess]);
+    push @{$self->{'StatementLog'}} , ([Time::HiRes::time(), $statement, [@bind], $duration, Carp::longmess("Executed SQL query")]);
 
 }
 

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



More information about the Bps-public-commit mailing list