From cd3ef3cdd0c97d4a22fca0b815c2b8a7706f61f2 Mon Sep 17 00:00:00 2001 From: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:26:30 +0800 Subject: [PATCH] [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 f8b22b6a0d7371..29f84563627786 100644 --- a/be/src/olap/delete_handler.cpp +++ b/be/src/olap/delete_handler.cpp @@ -22,8 +22,8 @@ #include #include +#include #include -#include #include #include #include @@ -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)