提交 673da9af authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Remove unexpected assertion, null is valid here

上级 46bf0299
......@@ -168,7 +168,6 @@ public class ViewIndex extends BaseIndex implements SpatialIndex {
private static Query prepareSubQuery(String sql, Session session, int[] masks,
TableFilter[] filters, int filter, SortOrder sortOrder) {
assert filters != null;
Prepared p;
session.pushSubQueryInfo(masks, filters, filter, sortOrder);
try {
......
......@@ -103,6 +103,21 @@ select a.i from t1 a inner join (select a.i from t2 a inner join (select i from
> -
> rows: 0
insert into t1 values (1);
> update count: 1
insert into t2 values (1);
> update count: 1
insert into t3 values (1);
> update count: 1
select a.i from t1 a inner join (select a.i from t2 a inner join (select i from t3) b on a.i=b.i) b on a.i=b.i;
> I
> -
> 1
> rows: 1
drop table t1, t2, t3;
> ok
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论