未验证 提交 99adb3f7 编写于 作者: B Bitros Wang 提交者: GitHub

#15763 Fix bug Oralce MV changes are not saved (#15764)

* #15763 Fix bug Oralce  MV changes are not saved

Any changes in Oracle MV can not be saved when switch to DDL Compact Format. But it works well when switch to Full DDL Format.

* #15763 Fix bug Oralce MV changes are not saved 

remove unnecessary class cast operation

* #15763 Fix bug Oralce MV changes are not saved

Delete unnecessary validation
上级 5daf43db
......@@ -59,9 +59,6 @@ public class OracleMaterializedViewManager extends SQLObjectEditor<OracleMateria
if (CommonUtils.isEmpty(command.getObject().getName())) {
throw new DBException("View name cannot be empty"); //$NON-NLS-1$
}
if (CommonUtils.isEmpty(command.getObject().getObjectDefinitionText(monitor, options))) {
throw new DBException("View definition cannot be empty"); //$NON-NLS-1$
}
}
@Nullable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册