提交 92b84eda authored 作者: Thomas Mueller's avatar Thomas Mueller

Right outer joins on tables that were already 'inner joined' was processed incorrectly.

上级 de5ec495
......@@ -414,6 +414,14 @@ public class TableFilter implements ColumnResolver {
if (join == null) {
this.join = filter;
filter.outerJoin = outer;
if (outer) {
// convert all inner joins on the right hand side to outer joins
TableFilter f = filter.join;
while (f != null) {
f.outerJoin = true;
f = f.join;
}
}
if (on != null) {
filter.mapAndAddFilter(on);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论