You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
490 B

diff --git a/auparse/expression.c b/auparse/expression.c
index 17213eb..1e8876e 100644
--- a/auparse/expression.c
+++ b/auparse/expression.c
@@ -854,6 +854,7 @@ expr_create_timestamp_comparison_ex(unsigned op, time_t sec, unsigned milli,
|| op == EO_VALUE_LE || op == EO_VALUE_GT || op == EO_VALUE_GE);
res->op = op;
res->virtual_field = 1;
+ res->numeric_field = 1;
res->v.p.field.id = EF_TIMESTAMP_EX;
res->precomputed_value = 1;
res->v.p.value.timestamp_ex.sec = sec;