projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added initial SQL::Abstract::Limit support and tests
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
Cursor.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/Cursor.pm
b/lib/DBIx/Class/Storage/DBI/Cursor.pm
index
3ccaef9
..
143425b
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/Cursor.pm
+++ b/
lib/DBIx/Class/Storage/DBI/Cursor.pm
@@
-24,9
+24,6
@@
sub next {
my $sth = $self->{sth};
unless ($self->{live_sth}) {
$sth->execute(@{$self->{args} || []});
- if (my $offset = $self->{attrs}{offset}) {
- $sth->fetch for 1 .. $offset;
- }
$self->{live_sth} = 1;
}
my @row = $sth->fetchrow_array;