summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/format/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/format/format.h')
-rw-r--r--src/third_party/wiredtiger/test/format/format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/test/format/format.h b/src/third_party/wiredtiger/test/format/format.h
index d277fb1a915..4eac7a5eb8e 100644
--- a/src/third_party/wiredtiger/test/format/format.h
+++ b/src/third_party/wiredtiger/test/format/format.h
@@ -122,6 +122,8 @@ typedef struct {
WT_RAND_STATE rnd; /* Global RNG state */
+ pthread_rwlock_t prepare_lock; /* Prepare running */
+
uint64_t timestamp; /* Counter for timestamps */
uint64_t truncate_cnt; /* Counter for truncation */
@@ -290,6 +292,8 @@ typedef struct {
uint64_t last; /* truncate range */
WT_ITEM *lastkey, _lastkey;
+ WT_ITEM *tbuf, _tbuf; /* temporary buffer */
+
#define TINFO_RUNNING 1 /* Running */
#define TINFO_COMPLETE 2 /* Finished */
#define TINFO_JOINED 3 /* Resolved */