diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/schema/schema_util.c')
-rw-r--r-- | src/third_party/wiredtiger/src/schema/schema_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/schema/schema_util.c b/src/third_party/wiredtiger/src/schema/schema_util.c index 25ef013648c..86bff7b086c 100644 --- a/src/third_party/wiredtiger/src/schema/schema_util.c +++ b/src/third_party/wiredtiger/src/schema/schema_util.c @@ -26,7 +26,7 @@ __schema_backup_check_int(WT_SESSION_IMPL *session, const char *name) * There is a window at the end of a backup where the list has been cleared from the connection * but the flag is still set. It is safe to drop at that point. */ - if (!conn->hot_backup || (backup_list = conn->hot_backup_list) == NULL) { + if (conn->hot_backup_start == 0 || (backup_list = conn->hot_backup_list) == NULL) { return (0); } for (i = 0; backup_list[i] != NULL; ++i) { @@ -50,7 +50,7 @@ __wt_schema_backup_check(WT_SESSION_IMPL *session, const char *name) WT_DECL_RET; conn = S2C(session); - if (!conn->hot_backup) + if (conn->hot_backup_start == 0) return (0); WT_WITH_HOTBACKUP_READ_LOCK_UNCOND(session, ret = __schema_backup_check_int(session, name)); return (ret); |