[jOOQ/jOOQ#16302] Can't parse MySQL ALTER TABLE .. DROP .., DROP .. syntax
This commit is contained in:
parent
a59cdf8136
commit
e05761b9e8
@ -5529,7 +5529,10 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
List<Field<?>> fields = null;
|
||||
|
||||
if (!ifColumnExists) {
|
||||
while (parseIf(',') || parseKeywordIf("DROP") && (parseKeywordIf("COLUMN") || true)) {
|
||||
while (parseIf(',')
|
||||
&& (parseKeywordIf("DROP") || true) && (parseKeywordIf("COLUMN") || true)
|
||||
|| parseKeywordIf("DROP") && (parseKeywordIf("COLUMN") || true)
|
||||
) {
|
||||
if (fields == null) {
|
||||
fields = new ArrayList<>();
|
||||
fields.add(field);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user