X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Fcore%2Fstore_expr.c;h=80c1f4ac25c756383d579a1a92042045f5df6cec;hp=6e39305a89ecd18718ad7984a4e7cc85f407728d;hb=bbd1b997cf153d54878efebc182bd88f1c64d45c;hpb=fcc75b2e7b54733d006bf460a67393842aa71cf0 diff --git a/src/core/store_expr.c b/src/core/store_expr.c index 6e39305..80c1f4a 100644 --- a/src/core/store_expr.c +++ b/src/core/store_expr.c @@ -167,7 +167,7 @@ sdb_store_expr_fieldvalue(int field) sdb_data_t value = { SDB_TYPE_INTEGER, { .integer = field } }; sdb_store_expr_t *e; - if ((field < SDB_FIELD_NAME) || (SDB_FIELD_VALUE < field)) + if ((field < SDB_FIELD_NAME) || (SDB_FIELD_TIMESERIES < field)) return NULL; e = SDB_STORE_EXPR(sdb_object_create("store-fieldvalue", expr_type, FIELD_VALUE, NULL, NULL, &value));