提交 b5f469e3 authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 545: Unnecessary duplicate code was removed.

上级 9565beff
......@@ -120,10 +120,6 @@ public class Schema extends DbObjectBase {
Constraint obj = (Constraint) constraints.values().toArray()[0];
database.removeSchemaObject(session, obj);
}
while (constraints != null && constraints.size() > 0) {
Constraint obj = (Constraint) constraints.values().toArray()[0];
database.removeSchemaObject(session, obj);
}
// There can be dependencies between tables e.g. using computed columns,
// so we might need to loop over them multiple times.
boolean runLoopAgain = false;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论