fix incorrect singly-linked-list/doubly-linked-list mismatch in dbgi search cache

This commit is contained in:
Ryan Fleury
2024-11-19 10:41:22 -08:00
parent 816d8e88bf
commit a40c26a0eb
+1 -1
View File
@@ -687,7 +687,7 @@ di_search_items_from_key_params_query(DI_Scope *scope, U128 key, DI_SearchParams
{ {
node = push_array(stripe->arena, DI_SearchNode, 1); node = push_array(stripe->arena, DI_SearchNode, 1);
} }
SLLQueuePush(slot->first, slot->last, node); DLLPushBack(slot->first, slot->last, node);
node->key = key; node->key = key;
for(U64 idx = 0; idx < ArrayCount(node->buckets); idx += 1) for(U64 idx = 0; idx < ArrayCount(node->buckets); idx += 1)
{ {