diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/cursor.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/cursor.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/src/include/cursor.h b/src/third_party/wiredtiger/src/include/cursor.h index dfcc4f7888f..be3672f1ac5 100644 --- a/src/third_party/wiredtiger/src/include/cursor.h +++ b/src/third_party/wiredtiger/src/include/cursor.h @@ -54,7 +54,6 @@ struct __wt_cursor_backup { WT_CURSOR *incr_cursor; /* File cursor */ - bool incr_init; /* Cursor traversal initialized */ WT_ITEM bitstring; /* List of modified blocks */ uint64_t nbits; /* Number of bits in bitstring */ uint64_t offset; /* Zero bit offset in bitstring */ @@ -62,13 +61,16 @@ struct __wt_cursor_backup { uint64_t granularity; /* Length, transfer size */ /* AUTOMATIC FLAG VALUE GENERATION START */ -#define WT_CURBACKUP_DUP 0x01u /* Duplicated backup cursor */ -#define WT_CURBACKUP_FORCE_FULL 0x02u /* Force full file copy for this cursor */ -#define WT_CURBACKUP_FORCE_STOP 0x04u /* Force stop incremental backup */ -#define WT_CURBACKUP_INCR 0x08u /* Incremental backup cursor */ -#define WT_CURBACKUP_LOCKER 0x10u /* Hot-backup started */ - /* AUTOMATIC FLAG VALUE GENERATION STOP */ - uint8_t flags; +#define WT_CURBACKUP_CKPT_FAKE 0x01u /* Object has fake checkpoint */ +#define WT_CURBACKUP_DUP 0x02u /* Duplicated backup cursor */ +#define WT_CURBACKUP_FORCE_FULL 0x04u /* Force full file copy for this cursor */ +#define WT_CURBACKUP_FORCE_STOP 0x08u /* Force stop incremental backup */ +#define WT_CURBACKUP_HAS_CB_INFO 0x10u /* Object has checkpoint backup info */ +#define WT_CURBACKUP_INCR 0x20u /* Incremental backup cursor */ +#define WT_CURBACKUP_INCR_INIT 0x40u /* Cursor traversal initialized */ +#define WT_CURBACKUP_LOCKER 0x80u /* Hot-backup started */ + /* AUTOMATIC FLAG VALUE GENERATION STOP */ + uint32_t flags; }; /* Get the WT_BTREE from any WT_CURSOR/WT_CURSOR_BTREE. */ |