summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/meta
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/meta')
-rw-r--r--src/third_party/wiredtiger/src/meta/meta_ckpt.c10
-rw-r--r--src/third_party/wiredtiger/src/meta/meta_turtle.c8
2 files changed, 6 insertions, 12 deletions
diff --git a/src/third_party/wiredtiger/src/meta/meta_ckpt.c b/src/third_party/wiredtiger/src/meta/meta_ckpt.c
index 65dae99e577..d812713d1d5 100644
--- a/src/third_party/wiredtiger/src/meta/meta_ckpt.c
+++ b/src/third_party/wiredtiger/src/meta/meta_ckpt.c
@@ -359,9 +359,8 @@ __wt_meta_block_metadata(WT_SESSION_IMPL *session, const char *config, WT_CKPT *
*/
WT_ERR(__wt_config_gets(session, filecfg, "encryption", &cval));
WT_ERR(__wt_buf_fmt(session, b,
- "encryption=%.*s,"
- "block_metadata_encrypted=%s,block_metadata=[%.*s]",
- (int)cval.len, cval.str, kencryptor == NULL ? "false" : "true", (int)metadata_len, metadata));
+ "encryption=%.*s,block_metadata_encrypted=%s,block_metadata=[%.*s]", (int)cval.len, cval.str,
+ kencryptor == NULL ? "false" : "true", (int)metadata_len, metadata));
WT_ERR(__wt_strndup(session, b->data, b->size, &ckpt->block_metadata));
err:
@@ -973,9 +972,8 @@ __ckpt_version_chk(WT_SESSION_IMPL *session, const char *fname, const char *conf
(majorv == WT_BTREE_MAJOR_VERSION_MIN && minorv < WT_BTREE_MINOR_VERSION_MIN) ||
(majorv == WT_BTREE_MAJOR_VERSION_MAX && minorv > WT_BTREE_MINOR_VERSION_MAX))
WT_RET_MSG(session, EACCES,
- "%s is an unsupported WiredTiger source file version %d.%d"
- "; this WiredTiger build only supports versions from %d.%d "
- "to %d.%d",
+ "%s is an unsupported WiredTiger source file version %d.%d; this WiredTiger build only "
+ "supports versions from %d.%d to %d.%d",
fname, majorv, minorv, WT_BTREE_MAJOR_VERSION_MIN, WT_BTREE_MINOR_VERSION_MIN,
WT_BTREE_MAJOR_VERSION_MAX, WT_BTREE_MINOR_VERSION_MAX);
return (0);
diff --git a/src/third_party/wiredtiger/src/meta/meta_turtle.c b/src/third_party/wiredtiger/src/meta/meta_turtle.c
index dfaaff0d243..0ed6257060a 100644
--- a/src/third_party/wiredtiger/src/meta/meta_turtle.c
+++ b/src/third_party/wiredtiger/src/meta/meta_turtle.c
@@ -283,17 +283,13 @@ __wt_turtle_init(WT_SESSION_IMPL *session)
* incremental backup file and a destination database that incorrectly ran recovery.
*/
if (exist_incr && !exist_isrc)
- WT_RET_MSG(session, EINVAL,
- "Incremental backup after running recovery "
- "is not allowed");
+ WT_RET_MSG(session, EINVAL, "Incremental backup after running recovery is not allowed");
/*
* If we have a backup file and metadata and turtle files, we want to recreate the metadata
* from the backup.
*/
if (exist_backup) {
- WT_RET(__wt_msg(session,
- "Both %s and %s exist; recreating metadata from "
- "backup",
+ WT_RET(__wt_msg(session, "Both %s and %s exist; recreating metadata from backup",
WT_METADATA_TURTLE, WT_METADATA_BACKUP));
WT_RET(__wt_remove_if_exists(session, WT_METAFILE, false));
WT_RET(__wt_remove_if_exists(session, WT_METADATA_TURTLE, false));