提交 1b24968b 编写于 作者: A Alexey Milovidov

Fixed ridiculous bug #8727

上级 d43d84e7
......@@ -30,7 +30,7 @@ void ASTShowTablesQuery::formatQueryImpl(const FormatSettings & settings, Format
<< backQuoteIfNeed(from);
if (!like.empty())
settings.ostr << (settings.hilite ? hilite_keyword : "") << " LIKE " << (settings.hilite ? hilite_none : "")
settings.ostr << (settings.hilite ? hilite_keyword : "") << (not_like ? " NOT" : "") << " LIKE " << (settings.hilite ? hilite_none : "")
<< std::quoted(like, '\'');
if (limit_length)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册