Am Dienstag 03 August 2004 16:16 schrieb Tom Schindl:
> Ask has already stated that he's going to include it in his next
> release, I have already filed a doc-patch at rt.cpan.org
>

Good to know, Unfortunely I have started it also, currently I have no internet 
at work ;-) 

diff -Nur a/DBI.pm b/DBI.pm
--- a/DBI.pm    2004-08-03 08:39:11.000000000 +0200
+++ b/DBI.pm    2004-08-03 23:28:09.422608600 +0200
@@ -309,6 +309,16 @@
 the initial data_source sets AutoCommit = 0. It will not be used, if 
AutoCommit 
 will be turned off, after the connect has been done. 
 
+Sometimes you want to bypass Apache::DBI's persistent connection for a
+database handle, while others run under Apache::DBI's control. This can be
+reached with DBI's connect method. This example assumes that the script
+is running under Apache::DBI's control.
+
+  # Bypass Apache::DBI
+  my $dbh2 = DBI->connect( $data_source, $user, $passwd, 
+    { dbi_connect_method => 'connect' }) || die $DBI::errstr;
+    
+
 This module plugs in a menu item for Apache::Status. The menu lists the 
 current database connections. It should be considered incomplete because of 
 the limitations explained above. It shows the current database connections 

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to