[Bps-public-commit] dbix-searchbuilder branch, master, updated. 1.56_03-1-gaad56d6

Jesse Vincent jesse at bestpractical.com
Mon Aug 23 13:21:55 EDT 2010


The branch, master has been updated
       via  aad56d6c329a7085aa88c7ba204439caa3ad93b2 (commit)
      from  5a881750b244d161d148409a19cf62bf285d24f1 (commit)

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

- Log -----------------------------------------------------------------
commit aad56d6c329a7085aa88c7ba204439caa3ad93b2
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Mon Aug 23 13:24:01 2010 -0400

    We call Handle->DSN far too often. The least we can do is shave 10% off
    each call.

diff --git a/SearchBuilder/Handle.pm b/SearchBuilder/Handle.pm
index 4585a20..12c8a4b 100755
--- a/SearchBuilder/Handle.pm
+++ b/SearchBuilder/Handle.pm
@@ -181,9 +181,9 @@ sub BuildDSN {
     Returns the DSN for this database connection.
 
 =cut
+
 sub DSN {
-    my $self = shift;
-    return($self->{'dsn'});
+    return shift->{'dsn'};
 }
 
 

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



More information about the Bps-public-commit mailing list