mirror of
https://github.com/actiontech/dble.git
synced 2026-01-05 20:30:40 -06:00
@@ -114,7 +114,10 @@ public class ViewMeta {
|
||||
}
|
||||
|
||||
private void checkDuplicate(int type) throws SQLException {
|
||||
|
||||
if (StringUtil.isEmpty(schema)) {
|
||||
String msg = "No database selected";
|
||||
throw new SQLException(msg, "3D000", ErrorCode.ER_NO_DB_ERROR);
|
||||
}
|
||||
ViewMeta viewNode = tmManager.getCatalogs().get(schema).getViewMetas().get(viewName);
|
||||
//.getSyncView(schema,viewName);
|
||||
TableMeta tableMeta = tmManager.getCatalogs().get(schema).getTableMeta(viewName);
|
||||
|
||||
Reference in New Issue
Block a user