提交 8271c145 编写于 作者: S serge-rider

#9498 SQL editor tooltips fix


Former-commit-id: 9b2e2026
上级 cdfc1452
......@@ -1579,10 +1579,10 @@ public class SQLEditor extends SQLEditorBase implements
.append(" \nURL: ").append(dataSourceContainer.getConnectionConfiguration().getUrl());
Map<String, Object> vars = getScriptVariables(null, scriptPath);
if (vars.containsKey(VAR_ACTIVE_DATABASE)) {
if (vars.get(VAR_ACTIVE_DATABASE) != null) {
tip.append(" \nDatabase: ").append(vars.get(VAR_ACTIVE_DATABASE));
}
if (vars.containsKey(VAR_ACTIVE_SCHEMA)) {
if (vars.get(VAR_ACTIVE_SCHEMA) != null) {
tip.append(" \nSchema: ").append(vars.get(VAR_ACTIVE_SCHEMA));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册