[jOOQ/jOOQ#10098] Support parsing SQL Server multi-column ADD syntax
This commit is contained in:
parent
49b5a7f243
commit
4c45c6394e
@ -4263,7 +4263,7 @@ final class ParserImpl implements Parser {
|
||||
do {
|
||||
parseAlterTableAddFieldsOrConstraints(ctx, list);
|
||||
}
|
||||
while (parseIf(ctx, ',') && parseKeyword(ctx, "ADD"));
|
||||
while (parseIf(ctx, ',') && (parseKeywordIf(ctx, "ADD") || !peekKeyword(ctx, "ALTER", "COMMENT", "DROP", "MODIFY", "OWNER TO", "RENAME")));
|
||||
}
|
||||
|
||||
if (list.size() == 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user