未验证 提交 9a4b73fa 编写于 作者: G George 提交者: GitHub

#13157 remove binding to datasource (#15391)

上级 e2738857
......@@ -72,9 +72,6 @@ public class SQLEditorHandlerOpenEditor extends AbstractDataSourceHandler {
try {
DBPResourceHandler handler = DBWorkbench.getPlatform().getWorkspace().getResourceHandler(resource);
if (handler != null) {
if (resource instanceof IFile && navigatorContext.getDataSourceContainer() != null) {
EditorUtils.setFileDataSource((IFile) resource, navigatorContext);
}
handler.openResource(resource);
}
} catch (Exception e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册