Fixup to Cursor, updated Changes
Matt S Trout [Thu, 6 Apr 2006 15:54:56 +0000 (15:54 +0000)]
Changes
lib/DBIx/Class/Storage/DBI/Cursor.pm

diff --git a/Changes b/Changes
index bbf21f9..11d0595 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,7 +2,10 @@ Revision history for DBIx::Class
 
 0.06001
         - Added fix for quoting with single table
-        - Added fix for update on resultset
+        - Substantial fixes and improvements to deploy
+        - slice now uses search directly
+        - fixes for update() on resultset
+        - bugfix to Cursor to avoid error during DESTROY
 
 0.06000
         - Lots of documentation improvements
index 2550adc..770608c 100644 (file)
@@ -160,7 +160,7 @@ sub DESTROY {
   my ($self) = @_;
 
   $self->_check_forks_threads;
-  $self->{sth}->finish if $self->{sth}->{Active};
+  $self->{sth}->finish if $self->{sth} && $self->{sth}->{Active};
 }
 
 1;