index 302736754ed8434421596b0801d08cc5ad33f27e..6aa4095bc5de2370f965e88500bc01f8c817cc8d 100644 (file)
--- a/src/core/store_lookup.c
+++ b/src/core/store_lookup.c
int
sdb_store_parse_field_name(const char *name)
{
- if (! strcasecmp(name, "last_update"))
+ if (! strcasecmp(name, "name"))
+ return SDB_FIELD_NAME;
+ else if (! strcasecmp(name, "last_update"))
return SDB_FIELD_LAST_UPDATE;
else if (! strcasecmp(name, "age"))
return SDB_FIELD_AGE;