Fix profiles not updating
Timestamped IDs were not being initialized properly when writing profile indices. This means that every profile was indexed with timestamp 0. derp. Fix this! Changelog-Fixed: Fix profiles not updating
This commit is contained in:
@@ -391,7 +391,7 @@ static inline void ndb_tsid_init(struct ndb_tsid *key, unsigned char *id,
|
|||||||
uint64_t timestamp)
|
uint64_t timestamp)
|
||||||
{
|
{
|
||||||
memcpy(key->id, id, 32);
|
memcpy(key->id, id, 32);
|
||||||
key->timestamp = 0;
|
key->timestamp = timestamp;
|
||||||
}
|
}
|
||||||
|
|
||||||
// useful for range-searching for the latest key with a clustered created_at timen
|
// useful for range-searching for the latest key with a clustered created_at timen
|
||||||
|
|||||||
Reference in New Issue
Block a user