提交 55d3d9e1 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 a4d53d18
...@@ -131,8 +131,8 @@ public class RegularTable extends TableBase { ...@@ -131,8 +131,8 @@ public class RegularTable extends TableBase {
trace.error("Could not undo operation", e); trace.error("Could not undo operation", e);
throw e2; throw e2;
} }
DbException dbe = DbException.convert(e); DbException de = DbException.convert(e);
if (dbe.getErrorCode() == ErrorCode.DUPLICATE_KEY_1) { if (de.getErrorCode() == ErrorCode.DUPLICATE_KEY_1) {
for (int j = 0; j < indexes.size(); j++) { for (int j = 0; j < indexes.size(); j++) {
Index index = indexes.get(j); Index index = indexes.get(j);
if (index.getIndexType().isUnique() && index instanceof MultiVersionIndex) { if (index.getIndexType().isUnique() && index instanceof MultiVersionIndex) {
...@@ -143,7 +143,7 @@ public class RegularTable extends TableBase { ...@@ -143,7 +143,7 @@ public class RegularTable extends TableBase {
} }
} }
} }
throw dbe; throw de;
} }
analyzeIfRequired(session); analyzeIfRequired(session);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论