Skip to content

Commit

Permalink
Remove second call to applyJpaLimit when building lateral query
Browse files Browse the repository at this point in the history
Might fix #1756
  • Loading branch information
Pilpin authored and beikov committed Jul 17, 2023
1 parent c3cab22 commit a9b1b6e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3747,7 +3747,6 @@ protected String buildLateralBaseQueryString(StringBuilder sbSelectFrom, JoinNod
buildBaseQueryString(sbSelectFrom, false, lateralJoinNode, false);
if (hasLimit()) {
if (mainQuery.jpaProvider.supportsSubqueryLimitOffset()) {
applyJpaLimit(sbSelectFrom);
sbSelectFrom.append(')');
} else {
final boolean hasFirstResult = firstResult != 0;
Expand Down

0 comments on commit a9b1b6e

Please sign in to comment.