[jOOQ/jOOQ#10659] Add Informix emulation for GENERATE_SERIES

This commit is contained in:
Lukas Eder 2020-09-21 11:42:12 +02:00
parent f029fa79a6
commit 5b266002d0
2 changed files with 2 additions and 10 deletions

View File

@ -802,20 +802,11 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
private final void sql(BindingSQLContext<U> ctx, T value) throws SQLException {
if (ctx.render().paramType() == INLINED)
if (value == null)
sqlInlineNull0(ctx);
ctx.render().visit(K_NULL);
else
sqlInline0(ctx, value);
else
sqlBind0(ctx, value);
}
private final void sqlInlineNull0(BindingSQLContext<U> ctx) {
ctx.render().visit(K_NULL);
}
/**

View File

@ -134,6 +134,7 @@ final class GenerateSeries extends AbstractTable<Record1<Integer>> {
case H2: