[#5955] FOR UPDATE WAIT n not available in OSS edition

This commit is contained in:
lukaseder 2017-03-22 09:30:34 +01:00
parent 5cbbe58e01
commit b685cb992e

View File

@ -556,8 +556,10 @@ class ParserImpl implements Parser {
if (parseKeywordIf(ctx, "NOWAIT"))
result.setForUpdateNoWait();
else if (parseKeywordIf(ctx, "WAIT"))
result.setForUpdateWait((int) (long) parseUnsignedInteger(ctx));
else if (parseKeywordIf(ctx, "SKIP LOCKED"))
result.setForUpdateSkipLocked();
}