This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 7fe4d00bb21826c69d76f927dfca3c157f2e7ba9 Author: Yongqiang YANG <[email protected]> AuthorDate: Tue Jan 30 15:26:30 2024 +0800 [fix](regex) use boost regex instead of std (#30462) --- be/src/olap/delete_handler.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/be/src/olap/delete_handler.cpp b/be/src/olap/delete_handler.cpp index f8b22b6a0d7..29f84563627 100644 --- a/be/src/olap/delete_handler.cpp +++ b/be/src/olap/delete_handler.cpp @@ -22,8 +22,8 @@ #include <thrift/protocol/TDebugProtocol.h> #include <algorithm> +#include <boost/regex.hpp> #include <limits> -#include <regex> #include <sstream> #include <string> #include <utility> @@ -44,10 +44,10 @@ using std::vector; using std::string; using std::stringstream; -using std::regex; -using std::regex_error; -using std::regex_match; -using std::smatch; +using boost::regex; +using boost::regex_error; +using boost::regex_match; +using boost::smatch; using ::google::protobuf::RepeatedPtrField; @@ -293,7 +293,7 @@ Status DeleteHandler::parse_condition(const DeleteSubPredicatePB& sub_cond, TCon Status DeleteHandler::parse_condition(const std::string& condition_str, TCondition* condition) { bool matched = true; - smatch what; + boost::smatch what; try { // Condition string format, the format is (column_name)(op)(value) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
