mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
missed filling out the numeric value indexes for patterns
This commit is contained in:
parent
71aa54ad4d
commit
3fed519d0c
@ -1414,6 +1414,17 @@ void external_log_format::build(std::vector<std::string> &errors) {
|
||||
}
|
||||
ivd.ivd_value_def = value_iter->second.get();
|
||||
pat.p_value_by_index.push_back(ivd);
|
||||
|
||||
if (!vd.vd_foreign_key && !vd.vd_identifier) {
|
||||
switch (vd.vd_kind) {
|
||||
case logline_value::VALUE_INTEGER:
|
||||
case logline_value::VALUE_FLOAT:
|
||||
pat.p_numeric_value_indexes.push_back(ivd.ivd_index);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user