Skip to content

Commit 7d6d749

Browse files
committed
Fix the generated log type
1 parent e73d284 commit 7d6d749

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/core/src/Grep.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ SubQueryMatchabilityResult generate_logtypes_and_vars_for_subquery (const Archiv
370370
logtype.append(processed_search_string, last_token_end_pos, string::npos);
371371
last_token_end_pos = processed_search_string.length();
372372
}
373+
std::string const uncleaned_logtype = logtype;
374+
logtype.clear();
375+
ir::escape_and_append_constant_to_logtype(uncleaned_logtype, logtype);
373376

374377
if ("*" == logtype) {
375378
// Logtype will match all messages

0 commit comments

Comments
 (0)