mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 07:09:34 -05:00
Add another FIXME comment
This commit is contained in:
parent
35fca0f6af
commit
f5297dfc25
1 changed files with 3 additions and 0 deletions
|
|
@ -226,6 +226,9 @@ typedef struct MDB_ppage { /* ordered list of pages */
|
||||||
} MDB_ppage;
|
} MDB_ppage;
|
||||||
SLIST_HEAD(page_stack, MDB_ppage);
|
SLIST_HEAD(page_stack, MDB_ppage);
|
||||||
|
|
||||||
|
/* FIXME: tree depth is mostly bounded, we should just
|
||||||
|
* use a fixed array and avoid malloc/pointer chasing
|
||||||
|
*/
|
||||||
#define CURSOR_EMPTY(c) SLIST_EMPTY(&(c)->mc_stack)
|
#define CURSOR_EMPTY(c) SLIST_EMPTY(&(c)->mc_stack)
|
||||||
#define CURSOR_TOP(c) SLIST_FIRST(&(c)->mc_stack)
|
#define CURSOR_TOP(c) SLIST_FIRST(&(c)->mc_stack)
|
||||||
#define CURSOR_POP(c) SLIST_REMOVE_HEAD(&(c)->mc_stack, mp_entry)
|
#define CURSOR_POP(c) SLIST_REMOVE_HEAD(&(c)->mc_stack, mp_entry)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue