QueryParser: The last_modified index is time_t
* Changed value type from B_INT64_TYPE to B_INT32_TYPE. * Changed QueryPolicy::NodeGetLastModifiedTime() return value from bigtime_t to time_t.
This commit is contained in:
@@ -1055,8 +1055,8 @@ Equation<QueryPolicy>::Match(Entry* entry, Node* node,
|
||||
value.Int64 = QueryPolicy::NodeGetSize(node);
|
||||
type = B_INT64_TYPE;
|
||||
} else if (!strcmp(fAttribute, "last_modified")) {
|
||||
value.Int64 = QueryPolicy::NodeGetLastModifiedTime(node);
|
||||
type = B_INT64_TYPE;
|
||||
value.Int32 = QueryPolicy::NodeGetLastModifiedTime(node);
|
||||
type = B_INT32_TYPE;
|
||||
} else {
|
||||
// then for attributes
|
||||
if (QueryPolicy::NodeGetAttribute(node, fAttribute, buffer, &size,
|
||||
|
||||
Reference in New Issue
Block a user