Home | History | Annotate | Download | only in btree

Lines Matching defs:CURSOR

283  * or a page number and an index.  These structures are used as a cursor, stack
302 * About cursors. The cursor (and the page that contained the key/data pair
304 * there are no duplicates of the cursor key in the tree (i.e. B_NODUPS is set
306 * referenced when it's deleted, and reacquire a new cursor key if the cursor
309 * the cursor) keys are added to the tree during this process, it is undefined
310 * if they will be returned or not in a cursor scan.
312 * The flags determine the possible states of the cursor:
314 * CURS_INIT The cursor references *something*.
315 * CURS_ACQUIRE The cursor was deleted, and a key has been saved so that
318 * The cursor was deleted, and now references a key/data pair
328 recno_t rcursor; /* R: recno cursor (1-based) */
330 #define CURS_ACQUIRE 0x01 /* B: Cursor needs to be reacquired. */
331 #define CURS_AFTER 0x02 /* B: Unreturned cursor after key. */
332 #define CURS_BEFORE 0x04 /* B: Unreturned cursor before key. */
333 #define CURS_INIT 0x08 /* RB: Cursor initialized. */
335 } CURSOR;
362 CURSOR bt_cursor; /* cursor */