提交 474b160e authored 作者: noelgrandin's avatar noelgrandin

fix bug in isClosed()

found while browsing the code.
上级 cb8344aa
...@@ -2199,7 +2199,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData { ...@@ -2199,7 +2199,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
* @return true if the result set was closed * @return true if the result set was closed
*/ */
public boolean isClosed() { public boolean isClosed() {
return rows == null; return rows == null && source == null;
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论