Author: timbo
Date: Fri Feb  8 14:46:09 2008
New Revision: 10706

Modified:
   dbi/trunk/Changes
   dbi/trunk/DBI.pm

Log:
Fixed docs tie'ing CacheKids (ie LRU cache) thanks to Peter John Edwards


Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes   (original)
+++ dbi/trunk/Changes   Fri Feb  8 14:46:09 2008
@@ -48,6 +48,8 @@
   Fixed avg in DBI::Profile as_text() thanks to Abe Ingersoll.
   Fixed DBD::DBM bug in push_names thanks to J M Davitt.
   Fixed take_imp_data for some platforms thanks to Jeffrey Klein.
+  Fixed docs tie'ing CacheKids (ie LRU cache) thanks to Peter John Edwards.
+
   Expanded DBI::DBD docs for driver authors thanks to Martin Evans.
   Enhanced t/80proxy.t test script.
   Enhanced t/85gofer.t test script thanks to Stig.

Modified: dbi/trunk/DBI.pm
==============================================================================
--- dbi/trunk/DBI.pm    (original)
+++ dbi/trunk/DBI.pm    Fri Feb  8 14:46:09 2008
@@ -4317,8 +4317,9 @@
 hashref returned by C<CachedKids> to an appropriate caching module,
 such as L<Tie::Cache::LRU>:
 
-  my $cache = $dbh->{CachedKids};
+  my $cache;
   tie %$cache, 'Tie::Cache::LRU', 500;
+  $dbh->{CachedKids} = $cache;
 
 =head3 C<commit>
 

Reply via email to