projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
de78905
)
make multi-return actually work
Matt S Trout [Mon, 13 Nov 2006 03:30:19 +0000 (
03:30
+0000)]
lib/DBIx/Class/ResultSet.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
32b42b5
..
61764b8
100644
(file)
--- a/
lib/DBIx/Class/ResultSet.pm
+++ b/
lib/DBIx/Class/ResultSet.pm
@@
-724,6
+724,7
@@
sub next {
if ($self->{stashed_objects}) {
my $obj = shift(@{$self->{stashed_objects}});
delete $self->{stashed_objects} unless @{$self->{stashed_objects}};
+ return $obj;
}
my @row = (
exists $self->{stashed_row}