X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FCursor.pm;h=770608c25f0d10bafec77f24ea0df04467429417;hb=d73c65616463b6d435eac899dc2ef21c1b53b29a;hp=42c253fd2816124cbe5c6638e21f5e4af7963062;hpb=21b5c39db6b191a30d7676e60dd231c22064ba5f;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI/Cursor.pm b/lib/DBIx/Class/Storage/DBI/Cursor.pm index 42c253f..770608c 100644 --- a/lib/DBIx/Class/Storage/DBI/Cursor.pm +++ b/lib/DBIx/Class/Storage/DBI/Cursor.pm @@ -30,8 +30,6 @@ information. =head2 new -=back - Returns a new L object. =cut @@ -57,9 +55,9 @@ sub new { =over 4 -=item Arguments: (none) +=item Arguments: none -=item Returns: \@row_columns +=item Return Value: \@row_columns =back @@ -99,9 +97,9 @@ sub next { =over 4 -=item Arguments: (none) +=item Arguments: none -=item Returns: \@row_columns+ +=item Return Value: \@row_columns+ =back @@ -123,8 +121,6 @@ sub all { =head2 reset -=back - Resets the cursor to the beginning of the L. =cut @@ -164,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;