Author: timbo
Date: Tue Jun 5 03:57:45 2007
New Revision: 9627
Modified:
dbi/trunk/Changes
dbi/trunk/DBI.pm
Log:
Corrected timeout example in docs thanks to Egmont Koblinger.
Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes (original)
+++ dbi/trunk/Changes Tue Jun 5 03:57:45 2007
@@ -43,6 +43,8 @@
Fixed unused var compiler warning thanks to JDHEDDEN.
+ Corrected timeout example in docs thanks to Egmont Koblinger.
+
Added support for !Time and !Time~N to DBI::Profile Path.
DBI::ProfileDumper changes:
Modified: dbi/trunk/DBI.pm
==============================================================================
--- dbi/trunk/DBI.pm (original)
+++ dbi/trunk/DBI.pm Tue Jun 5 03:57:45 2007
@@ -6731,7 +6731,7 @@
alarm(0); # cancel alarm (if code ran fast)
};
alarm(0); # cancel alarm (if eval failed)
- if ( $@ eq "TIMEOUT" ) { ... }
+ if ( $@ eq "TIMEOUT\n" ) { ... }
Unfortunately, as described above, this won't always work as expected,
depending on your perl version and the underlying database code.