[#8424] Better VALUES() emulation in Informix using TABLE(MULTISET)
This commit is contained in:
parent
6fa0d3ccad
commit
6b6627dc89
@ -38,6 +38,9 @@
|
||||
package org.jooq.impl;
|
||||
|
||||
import static org.jooq.Clause.TABLE_VALUES;
|
||||
// ...
|
||||
import static org.jooq.impl.Keywords.K_MULTISET;
|
||||
import static org.jooq.impl.Keywords.K_TABLE;
|
||||
import static org.jooq.impl.Keywords.K_VALUES;
|
||||
|
||||
import org.jooq.Context;
|
||||
@ -109,7 +112,6 @@ final class Values<R extends Record> extends AbstractTable<R> {
|
||||
|
||||
|
||||
|
||||
|
||||
case FIREBIRD:
|
||||
case MARIADB:
|
||||
case MYSQL: {
|
||||
@ -147,9 +149,16 @@ final class Values<R extends Record> extends AbstractTable<R> {
|
||||
|
||||
|
||||
|
||||
|
||||
default: {
|
||||
ctx.start(TABLE_VALUES)
|
||||
.visit(K_VALUES);
|
||||
ctx.start(TABLE_VALUES);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ctx.visit(K_VALUES);
|
||||
|
||||
if (rows.length > 1)
|
||||
ctx.formatIndentStart()
|
||||
@ -167,6 +176,10 @@ final class Values<R extends Record> extends AbstractTable<R> {
|
||||
ctx.formatIndentEnd()
|
||||
.formatNewLine();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ctx.end(TABLE_VALUES);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user