提交 4f0278b8 编写于 作者: S serge-rider

#7104 Materialized view DDL extraction fix


Former-commit-id: 498d009f
上级 205b5152
......@@ -167,6 +167,11 @@ public class OracleMaterializedView extends OracleTableBase implements OracleSou
try {
query = OracleUtils.getDDL(monitor, getTableTypeName(), this, OracleDDLFormat.COMPACT, options);
} catch (DBException e) {
String message = e.getMessage();
if (message != null) {
message = message.replace("*/", "* /");
}
query = "/*\nError generating materialized view DDL:\n" + message + "\n*/";
log.warn("Error getting view definition from system package", e);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册