summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/schema/schema_rename.c
diff options
context:
space:
mode:
authorChenhao Qu <chenhao.qu@mongodb.com>2021-01-25 10:17:02 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-25 11:01:39 +0000
commit62c3f69e2b2d2e805bb609edce01736f8ffa389b (patch)
tree314ef6ba4b2e51631d4d189207fca355eda49d27 /src/third_party/wiredtiger/src/schema/schema_rename.c
parent4a262f6844b3a054f4d89c8d7dc802e263dbdfc1 (diff)
downloadmongo-62c3f69e2b2d2e805bb609edce01736f8ffa389b.tar.gz
Import wiredtiger: e39ffb554160de902060cd063c4b1547ff6d5e1e from branch mongodb-5.0
ref: 1e9c8aed12..e39ffb5541 for: 4.9.0 WT-6309 Add support for start/stop arguments to wt printlog command WT-6866 Refactor python backup tests initial base class WT-6946 Adding test tags to an initial set of test programs WT-7084 Fix assert in test code and a comment error WT-7109 Retain no longer supported configuration options for backward compatibility WT-7113 Integrate prototype tiered storage code into WT WT-7114 Revert Makefile code to always run the prototype script
Diffstat (limited to 'src/third_party/wiredtiger/src/schema/schema_rename.c')
-rw-r--r--src/third_party/wiredtiger/src/schema/schema_rename.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/schema/schema_rename.c b/src/third_party/wiredtiger/src/schema/schema_rename.c
index 53c006ed226..6b5eb98d008 100644
--- a/src/third_party/wiredtiger/src/schema/schema_rename.c
+++ b/src/third_party/wiredtiger/src/schema/schema_rename.c
@@ -305,6 +305,8 @@ __schema_rename(WT_SESSION_IMPL *session, const char *uri, const char *newuri, c
ret = __wt_lsm_tree_rename(session, uri, newuri, cfg);
else if (WT_PREFIX_MATCH(uri, "table:"))
ret = __rename_table(session, uri, newuri, cfg);
+ else if (WT_PREFIX_MATCH(uri, "tiered:"))
+ ret = __wt_tiered_rename(session, uri, newuri, cfg);
else if ((dsrc = __wt_schema_get_source(session, uri)) != NULL)
ret = dsrc->rename == NULL ?
__wt_object_unsupported(session, uri) :