[jOOQ/jOOQ#12425] Fix regression in NullTreatment implementation

The splitting of window functions into individual classes has introduced
a regression in the implementation of NullTreatment in all non-Db2
implementations.
This commit is contained in:
Lukas Eder 2021-10-25 13:43:39 +02:00
parent 466b0aeaee
commit 63afa3ebdd
4 changed files with 4 additions and 4 deletions

View File

@ -151,8 +151,8 @@ abstract class AbstractLeadLag<T> extends AbstractWindowFunction<T> {
acceptNullTreatment(ctx);
ctx.sql(')');
acceptNullTreatment(ctx);
break;
}

View File

@ -78,8 +78,8 @@ final class FirstValue<T> extends AbstractWindowFunction<T> implements QOM.First
acceptNullTreatment(ctx);
ctx.sql(')');
acceptNullTreatment(ctx);
break;
}

View File

@ -78,8 +78,8 @@ final class LastValue<T> extends AbstractWindowFunction<T> implements QOM.LastVa
acceptNullTreatment(ctx);
ctx.sql(')');
acceptNullTreatment(ctx);
break;
}

View File

@ -81,9 +81,9 @@ final class NthValue<T> extends AbstractWindowFunction<T> implements QOM.NthValu
ctx.sql(')');
acceptFromFirstOrLast(ctx);
acceptNullTreatment(ctx);
ctx.sql(')');
break;
}