[#8682] Correctly parse SQL Server LOG() function

This commit is contained in:
Knut Wannheden 2019-05-28 17:00:52 +02:00
parent 635cbc1874
commit 8b4e41dacf

View File

@ -6097,9 +6097,9 @@ final class ParserImpl implements Parser {
default:
base = toField(ctx, parseNumericOp(ctx, N));
Field<?> base = toField(ctx, parseNumericOp(ctx, N));
parse(ctx, ',');
value = toField(ctx, parseNumericOp(ctx, N));
Field<?> value = toField(ctx, parseNumericOp(ctx, N));
parse(ctx, ')');
return log((Field) value, (Field) base);
}