This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ad49b666a63 [chore](mac compile) remove using regex to avoid mac 
compile failed frequently #30783
ad49b666a63 is described below

commit ad49b666a639415f9cc336bf81e5ef041b1a0d14
Author: camby <camby...@tencent.com>
AuthorDate: Sun Feb 4 14:14:17 2024 +0800

    [chore](mac compile) remove using regex to avoid mac compile failed 
frequently #30783
---
 be/src/olap/delete_handler.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/be/src/olap/delete_handler.cpp b/be/src/olap/delete_handler.cpp
index b3096d353a0..6c65b8e9709 100644
--- a/be/src/olap/delete_handler.cpp
+++ b/be/src/olap/delete_handler.cpp
@@ -44,11 +44,6 @@ using std::vector;
 using std::string;
 using std::stringstream;
 
-using boost::regex;
-using boost::regex_error;
-using boost::regex_match;
-using boost::smatch;
-
 using ::google::protobuf::RepeatedPtrField;
 
 namespace doris {
@@ -304,7 +299,7 @@ Status DeleteHandler::parse_condition(const std::string& 
condition_str, TConditi
         const char* const CONDITION_STR_PATTERN =
                 
R"(([\w$#%]+)\s*((?:=)|(?:!=)|(?:>>)|(?:<<)|(?:>=)|(?:<=)|(?:\*=)|(?:IS))\s*('((?:[\s\S]+)?)'|(?:[\s\S]+)?))";
         boost::regex ex(CONDITION_STR_PATTERN);
-        if (regex_match(condition_str, what, ex)) {
+        if (boost::regex_match(condition_str, what, ex)) {
             if (condition_str.size() != what[0].str().size()) {
                 matched = false;
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to