index 86acd10ea17ccf0a05ca7a7d1faeda5b09c52446..d53bd58f35d743228ee054ccdfdd530e94360f6f 100644 (file)
--- a/src/core/store_lookup.c
+++ b/src/core/store_lookup.c
return NULL;
if (value.type != SDB_TYPE_STRING) {
sdb_data_free_datum(&value);
+ if (type != SDB_ATTRIBUTE)
+ return NULL;
return parse_attr_cmp(attr, op, expr);
}