fix style

This commit is contained in:
Han Fei 2023-07-23 11:29:29 +02:00
parent ef0dca6261
commit 282258a855

View File

@ -1,5 +1,6 @@
#include <limits>
#include <Common/Exception.h>
#include <Common/logger_useful.h>
#include <Common/PODArray.h>
#include <Common/checkStackSize.h>
#include <Common/OptimizedRegularExpression.h>
@ -439,7 +440,7 @@ catch (...)
is_trivial = false;
required_substring_is_prefix = false;
alternatives.clear();
std::cerr << "Analyze RegularExpression failed, got error: {}" << DB::getCurrentExceptionMessage(false) << "\n";
LOG_ERROR(&Poco::Logger::get("OptimizeRegularExpression"), "Analyze RegularExpression failed, got error: {}", DB::getCurrentExceptionMessage(false));
}
template <bool thread_safe>