提交 3411e93f authored 作者: Andrei Tokar's avatar Andrei Tokar

fix from @gitmotte for #1531

上级 81bd7b8f
...@@ -162,7 +162,7 @@ public class IndexCursor implements Cursor { ...@@ -162,7 +162,7 @@ public class IndexCursor implements Cursor {
if (intersects != null && index instanceof SpatialIndex) { if (intersects != null && index instanceof SpatialIndex) {
cursor = ((SpatialIndex) index).findByGeometry(tableFilter, cursor = ((SpatialIndex) index).findByGeometry(tableFilter,
start, end, intersects); start, end, intersects);
} else { } else if (index != null) {
cursor = index.find(tableFilter, start, end); cursor = index.find(tableFilter, start, end);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论