未验证 提交 f7aea1c8 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #9839 from dbeaver/sqlserver-notempty

SQL Server: use empty string for name if can't obtain
......@@ -247,7 +247,7 @@ public class SQLServerConnectionPage extends ConnectionPageAbstract implements I
if (getSite().isNew() && CommonUtils.isEmpty(databaseName)) {
databaseName = CommonUtils.notEmpty(site.getDriver().getDefaultDatabase());
}
dbText.setText(databaseName);
dbText.setText(CommonUtils.notEmpty(databaseName));
}
if (userNameText != null) {
if (site.isNew() && CommonUtils.isEmpty(connectionInfo.getUserName())) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册