Skip to content

Commit

Permalink
Pass rule into does_support_limit_offset
Browse files Browse the repository at this point in the history
  • Loading branch information
ebelter committed Mar 24, 2017
1 parent 734102b commit 73a5cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/UR/DataSource/RDBMS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ sub create_iterator_closure_for_rule {
my $order_by_clause = $self->resolve_order_by_clause($query_plan);

my $limit_offset_clause;
$limit_offset_clause = $self->resolve_limit_offset_clause($query_plan) if $self->does_support_limit_offset;
$limit_offset_clause = $self->resolve_limit_offset_clause($query_plan) if $self->does_support_limit_offset($rule);

my $sql = "\nselect ";
if ($select_hint) {
Expand Down

0 comments on commit 73a5cab

Please sign in to comment.