提交 cb32a8b0 编写于 作者: N Nikita Akilov

#2243 remove redundant null 'check'

上级 eda00a55
......@@ -181,7 +181,7 @@ public class SQLServerStructureAssistant implements DBSStructureAssistant<SQLSer
if (params.isSearchInComments()) {
sql.append(" ");
}
sql.append("OR (OBJECT_DEFINITION(o.object_id) <> '[NULL]' AND OBJECT_DEFINITION(o.object_id) LIKE ?)");
sql.append("OR OBJECT_DEFINITION(o.object_id) LIKE ?)");
}
if (addParentheses) {
sql.append(") ");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册