diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/log/log.c')
-rw-r--r-- | src/third_party/wiredtiger/src/log/log.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/log/log.c b/src/third_party/wiredtiger/src/log/log.c index 8dfd0c0d153..6ce26e03c5d 100644 --- a/src/third_party/wiredtiger/src/log/log.c +++ b/src/third_party/wiredtiger/src/log/log.c @@ -975,12 +975,13 @@ __log_open_verify(WT_SESSION_IMPL *session, uint32_t id, WT_FH **fhp, WT_LOG_VERSION, desc->version); /* - * We error if the log version is less than the required minimum - * or larger than the required maximum. + * We error if the log version is less than the required minimum or + * larger than the required maximum. */ if (conn->req_max_major != WT_CONN_COMPAT_NONE && desc->version > conn->log_req_max) WT_ERR_MSG(session, WT_ERROR, + WT_COMPAT_MSG_PREFIX "unsupported WiredTiger file version: this build" " requires a maximum version of %" PRIu16 "," " and the file is version %" PRIu16, @@ -989,13 +990,14 @@ __log_open_verify(WT_SESSION_IMPL *session, uint32_t id, WT_FH **fhp, if (conn->req_min_major != WT_CONN_COMPAT_NONE && desc->version < conn->log_req_min) WT_ERR_MSG(session, WT_ERROR, + WT_COMPAT_MSG_PREFIX "unsupported WiredTiger file version: this build" " requires a minimum version of %" PRIu16 "," " and the file is version %" PRIu16, conn->log_req_min, desc->version); /* - * Set up the return values if the magic number is valid. + * Set up the return values since the header is valid. */ if (versionp != NULL) *versionp = desc->version; |