Skip to content

Commit

Permalink
[fix](regex) use boost regex instead of std (#30462)
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring authored Jan 30, 2024
1 parent 0cf1abb commit cd3ef3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions be/src/olap/delete_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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;

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit cd3ef3c

Please sign in to comment.