Skip to content

Commit

Permalink
Search log: Fix behavior of pattern matching (#717) (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored May 26, 2020
1 parent 33eaf84 commit c97e386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Flash/LogSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ bool LogIterator::match(const LogMessage & log_msg) const
auto & content = log_msg.message();
for (auto & regex : patterns)
{
if (!RE2::FullMatch(content, regex))
if (!RE2::PartialMatch(content, regex))
return false;
}

Expand Down

0 comments on commit c97e386

Please sign in to comment.