[svn:dbi] r14163 - dbi/trunk/lib/DBD

[email protected]
Newsgroups perl.dbi.changes
Message-ID <[email protected]>
Author: REHSACK
Date: Wed Jun 16 23:20:43 2010
New Revision: 14163

Modified:
   dbi/trunk/lib/DBD/DBM.pm

Log:
remove empty connect method


Modified: dbi/trunk/lib/DBD/DBM.pm
==============================================================================
--- dbi/trunk/lib/DBD/DBM.pm	(original)
+++ dbi/trunk/lib/DBD/DBM.pm	Wed Jun 16 23:20:43 2010
@@ -64,22 +64,6 @@
 $DBD::DBM::dr::imp_data_size = 0;
 @DBD::DBM::dr::ISA           = qw(DBD::File::dr);
 
-# you can get by without connect() if you don't have to check private
-# attributes, DBD::File will gather the connection string arguments for you
-#
-sub connect ($$;$$$)
-{
-    my ( $drh, $dbname, $user, $auth, $attr ) = @_;
-
-    # create a 'blank' dbh
-    #    my $this = DBI::_new_dbh($drh, {
-    #	Name => $dbname,
-    #    });
-    my $this = $drh->SUPER::connect( $dbname, $user, $auth, $attr );
-
-    return $this;
-}
-
 # you could put some :dr private methods here
 
 # you may need to over-ride some DBD::File::dr methods here
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.