[jOOQ/jOOQ#9028] Fix also ALTER SEQUENCE statement

This commit is contained in:
Lukas Eder 2019-08-13 16:08:27 +02:00
parent b1d9fceddf
commit 5828de119c

View File

@ -3067,7 +3067,7 @@ final class ParserImpl implements Parser {
}
else if (parseKeywordIf(ctx, "RESTART")) {
if (parseKeywordIf(ctx, "WITH"))
return s1.restartWith(parseUnsignedInteger(ctx));
return s1.restartWith(parseUnsignedIntegerOrBindVariable(ctx));
else
return s1.restart();
}