diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/cursor.h')
| -rw-r--r-- | src/third_party/wiredtiger/src/include/cursor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/cursor.h b/src/third_party/wiredtiger/src/include/cursor.h index 9155582eac5..19b2735c8a0 100644 --- a/src/third_party/wiredtiger/src/include/cursor.h +++ b/src/third_party/wiredtiger/src/include/cursor.h @@ -209,6 +209,12 @@ struct __wt_cursor_btree { */ enum { WT_CBT_RETRY_NOTSET = 0, WT_CBT_RETRY_INSERT, WT_CBT_RETRY_PAGE } iter_retry; + /* + * The random number state is used for random cursor operations. The random number can be seeded + * by the user or is randomly set based on the time and thread ID. + */ + WT_RAND_STATE rnd; /* Random number generation state */ + #ifdef HAVE_DIAGNOSTIC /* Check that cursor next/prev never returns keys out-of-order. */ WT_ITEM *lastkey, _lastkey; |
