[jOOQ/jOOQ#11430] Add parser support for ALTER TABLE .. DROP .. DROP syntax

This commit is contained in:
Lukas Eder 2021-02-12 16:50:43 +01:00
parent cf80bc723c
commit 82b2a12f9c

View File

@ -4860,7 +4860,7 @@ final class ParserContext {
List<Field<?>> fields = null;
if (!ifColumnExists) {
while (parseIf(',')) {
while (parseIf(',') || parseKeywordIf("DROP") && (parseKeywordIf("COLUMN") || true)) {
if (fields == null) {
fields = new ArrayList<>();
fields.add(field);