diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2024-04-08 19:57:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-08 19:57:19 +0300 |
commit | 3bdb1aadcfe981ac75b5bda9926a6cdbb6f2aef3 (patch) | |
tree | e716d4a699e92cd10663bc26b120c08df84b7614 | |
parent | 94b6973d6ec5cf512c5eba764e796e11993959a3 (diff) |
Call with resize true when dictionary has DICT_OPTION_INDEX_HASHTABLE (#17316)
Call with resize true when dict has DICT_OPTION_INDEX_HASHTABLE
-rw-r--r-- | src/libnetdata/dictionary/dictionary-hashtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnetdata/dictionary/dictionary-hashtable.h b/src/libnetdata/dictionary/dictionary-hashtable.h index ace22d91de..865f0b3602 100644 --- a/src/libnetdata/dictionary/dictionary-hashtable.h +++ b/src/libnetdata/dictionary/dictionary-hashtable.h @@ -95,7 +95,7 @@ static inline DICTIONARY_ITEM *hashtable_get_hashtable(DICTIONARY *dict, const c key[name_len] = '\0'; XXH64_hash_t hash = XXH3_64bits(name, name_len); - SIMPLE_HASHTABLE_SLOT_DICTIONARY *sl = simple_hashtable_get_slot_DICTIONARY(ht, hash, key, false); + SIMPLE_HASHTABLE_SLOT_DICTIONARY *sl = simple_hashtable_get_slot_DICTIONARY(ht, hash, key, true); return SIMPLE_HASHTABLE_SLOT_DATA(sl); } |