Commit 21ecb0d5 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Make an association of 2 secondaries to a primary work. Fixes #137.

git-svn-id: file:///svn/tokudb@998 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1e044503
......@@ -37,8 +37,11 @@ static inline void list_push_head(struct list *head, struct list *list) {
}
static inline void list_remove(struct list *list) {
list->next->prev = list->prev;
list->prev->next = list->next;
struct list *prev = list->prev;
struct list *next = list->next;
next->prev = prev;
prev->next = next;
list_init(list); // Set the list element to be empty
}
static inline struct list *list_pop(struct list *head) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment