projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c23835c
)
Finish any active sth's in DESTROY
Andy Grundman [Tue, 2 Aug 2005 18:18:38 +0000 (18:18 +0000)]
lib/DBIx/Class/Cursor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Cursor.pm
b/lib/DBIx/Class/Cursor.pm
index
52aa9e8
..
df8aea5
100644
(file)
--- a/
lib/DBIx/Class/Cursor.pm
+++ b/
lib/DBIx/Class/Cursor.pm
@@
-96,4
+96,9
@@
sub delete_all {
return 1;
}
+sub DESTROY {
+ my ($self) = @_;
+ $self->{sth}->finish if $self->{sth}->{Active};
+}
+
1;