提交 997e2d98 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Remove unneeded try-catch from MVPrimaryIndex.getRowCountMax()

上级 79e5414b
......@@ -362,11 +362,7 @@ public class MVPrimaryIndex extends BaseIndex {
* @return the maximum number of rows
*/
public long getRowCountMax() {
try {
return dataMap.sizeAsLongMax();
} catch (IllegalStateException e) {
throw DbException.get(ErrorCode.OBJECT_CLOSED, e);
}
return dataMap.sizeAsLongMax();
}
@Override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论