Revert "Add debug logging"

This reverts commit 49a9bc6b90.
This commit is contained in:
Nikolai Kochetov 2021-12-17 13:26:05 +03:00
parent 49a9bc6b90
commit 7b56e97cf8

View File

@ -5,7 +5,6 @@
#include <Parsers/ASTExpressionList.h>
#include <Interpreters/OptimizeIfWithConstantConditionVisitor.h>
#include <IO/WriteHelpers.h>
#include <base/logger_useful.h>
namespace DB
{
@ -17,9 +16,6 @@ namespace ErrorCodes
static bool tryExtractConstValueFromCondition(const ASTPtr & condition, bool & value)
{
const auto * log = &Poco::Logger::get("tryExtractConstValueFromCondition");
LOG_TRACE(log, "{}", condition->dumpTree());
/// numeric constant in condition
if (const auto * literal = condition->as<ASTLiteral>())
{