Skip to content

Commit

Permalink
Fix the generated log type
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 committed Sep 18, 2023
1 parent e73d284 commit 7d6d749
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/core/src/Grep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ SubQueryMatchabilityResult generate_logtypes_and_vars_for_subquery (const Archiv
logtype.append(processed_search_string, last_token_end_pos, string::npos);
last_token_end_pos = processed_search_string.length();
}
std::string const uncleaned_logtype = logtype;
logtype.clear();
ir::escape_and_append_constant_to_logtype(uncleaned_logtype, logtype);

if ("*" == logtype) {
// Logtype will match all messages
Expand Down

0 comments on commit 7d6d749

Please sign in to comment.