提交 566fdcbe 编写于 作者: J jurgen

Cassandra DDL & collections fetch

Former-commit-id: 84ebf639
上级 bb0ac3c7
......@@ -100,7 +100,8 @@ public abstract class SQLEditorNested<T extends DBSObject>
if (editorInput == null) {
return null;
}
return (SQLDataSource) editorInput.getDataSource();
DBPDataSource dataSource = editorInput.getDataSource();
return dataSource instanceof SQLDataSource ? (SQLDataSource) dataSource : null;
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册