[jOOQ/jOOQ#13311] QOM API mutators on Select type don't copy OFFSET ..

LIMIT and a few other clauses
This commit is contained in:
Lukas Eder 2022-03-21 11:35:43 +01:00
parent 26413079ce
commit 91e0e8eb08
2 changed files with 16 additions and 2 deletions

View File

@ -447,7 +447,7 @@ final class Limit extends AbstractQueryPart implements UTransient {
final void setOffset(Field<? extends Number> offset) {
this.offset = offset;
this.offsetOrZero = offset;
this.offsetOrZero = offset == null ? ZERO : offset;
}
final void setLimit(Number l) {
@ -457,7 +457,7 @@ final class Limit extends AbstractQueryPart implements UTransient {
final void setLimit(Field<? extends Number> l) {
this.limit = l;
this.limitOrMax = l;
this.limitOrMax = l == null ? MAX : l;
}
final Long getLimit() {

View File

@ -4729,6 +4729,20 @@ final class SelectQueryImpl<R extends Record> extends AbstractResultQuery<R> imp