[#5955] <table reference> only for qualified joins

This commit is contained in:
lukaseder 2017-04-14 13:34:57 +02:00
parent e751f3b2f1
commit c57e7b8faf

View File

@ -1994,7 +1994,7 @@ class ParserImpl implements Parser {
if (joinType == null)
return null;
Table<?> right = parseTable(ctx);
Table<?> right = joinType.qualified() ? parseTable(ctx) : parseTableFactor(ctx);
TableOptionalOnStep<?> result1 = left.join(right, joinType);
Table<?> result2 = result1;