[jOOQ/jOOQ#12602] Parse INSERT .. SELECT without column list
This commit is contained in:
parent
de274b5f3f
commit
81be95e884
@ -2119,7 +2119,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
InsertSetStep<?> s1 = (with == null ? dsl.insertInto(table) : with.insertInto(table));
|
||||
Field<?>[] fields = null;
|
||||
|
||||
if (parseIf('(')) {
|
||||
if (!peekSelectOrWith(true) && parseIf('(')) {
|
||||
fields = parseList(',', c -> parseField()).toArray(EMPTY_FIELD);
|
||||
parse(')');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user