diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/tiered/tiered_handle.c')
-rw-r--r-- | src/third_party/wiredtiger/src/tiered/tiered_handle.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/tiered/tiered_handle.c b/src/third_party/wiredtiger/src/tiered/tiered_handle.c index 35db12d817a..216b40e2eb7 100644 --- a/src/third_party/wiredtiger/src/tiered/tiered_handle.c +++ b/src/third_party/wiredtiger/src/tiered/tiered_handle.c @@ -215,10 +215,13 @@ __tiered_create_local(WT_SESSION_IMPL *session, WT_TIERED *tiered) WT_ERR(__wt_scr_alloc(session, 1024, &build)); __wt_config_init(session, &cparser, config); while ((ret = __wt_config_next(&cparser, &ck, &cv)) == 0) { - if (!WT_STRING_MATCH("checkpoint", ck.str, ck.len)) + if (!WT_STRING_MATCH("checkpoint", ck.str, ck.len)) { + /* Preserve any quotation marks during the copy. */ + WT_CONFIG_PRESERVE_QUOTES(session, &cv); /* Append the entry to the new buffer. */ WT_ERR(__wt_buf_catfmt( session, build, "%.*s=%.*s,", (int)ck.len, ck.str, (int)cv.len, cv.str)); + } } WT_ERR_NOTFOUND_OK(ret, false); __wt_free(session, config); |