diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-06-15 10:28:51 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-06-15 10:28:51 -0400 |
commit | f39cdb6b207f8b2e855b3b89cc060c833bb45372 (patch) | |
tree | 9a574e20ef84190056b14927dbdf6aa850e39e9b /src/mongo/db/repl/storage_interface_impl.h | |
parent | a3f13b0939638243ba4e827a258fbe1e126bb1b6 (diff) | |
download | mongo-f39cdb6b207f8b2e855b3b89cc060c833bb45372.tar.gz |
SERVER-29276 adds renameCollection function to StorageInterface
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.h')
-rw-r--r-- | src/mongo/db/repl/storage_interface_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.h b/src/mongo/db/repl/storage_interface_impl.h index 634fc428d05..d01fa7ff0e2 100644 --- a/src/mongo/db/repl/storage_interface_impl.h +++ b/src/mongo/db/repl/storage_interface_impl.h @@ -84,6 +84,11 @@ public: Status dropCollection(OperationContext* opCtx, const NamespaceString& nss) override; + Status renameCollection(OperationContext* opCtx, + const NamespaceString& fromNS, + const NamespaceString& toNS, + bool stayTemp) override; + StatusWith<std::vector<BSONObj>> findDocuments(OperationContext* opCtx, const NamespaceString& nss, boost::optional<StringData> indexName, |