[Bps-public-commit] dbix-searchbuilder branch, master, updated. 1.56_03-10-g1db4d38

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


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

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

- Log -----------------------------------------------------------------
commit 1db4d38c8f02a23a890afc79805a0c9ea6cde444
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Sep 29 18:35:14 2010 -0400

    When logging queries, include full stack trace

diff --git a/SearchBuilder/Handle.pm b/SearchBuilder/Handle.pm
index 89dbae5..e83903a 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]);
+    push @{$self->{'StatementLog'}} , ([Time::HiRes::time(), $statement, [@bind], $duration, Carp::longmess]);
 
 }
 

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



More information about the Bps-public-commit mailing list