summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.h
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2015-07-08 10:30:52 -0400
committerScott Hernandez <scotthernandez@gmail.com>2015-07-08 10:34:05 -0400
commit9edbe630a70fe1117111015c98dcc068ecd22db6 (patch)
tree3dc6d5dea679dfd4b7bd66c88a1cde29f4aa1b49 /src/mongo/db/cloner.h
parent5eca5fe8106408b198c759443a2bb1ca320dad6c (diff)
downloadmongo-9edbe630a70fe1117111015c98dcc068ecd22db6.tar.gz
SERVER-19298: always use collection options when creating collections
Diffstat (limited to 'src/mongo/db/cloner.h')
-rw-r--r--src/mongo/db/cloner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/cloner.h b/src/mongo/db/cloner.h
index 3d49cf01a05..86c184798c9 100644
--- a/src/mongo/db/cloner.h
+++ b/src/mongo/db/cloner.h
@@ -72,6 +72,7 @@ private:
void copy(OperationContext* txn,
const std::string& toDBName,
const NamespaceString& from_ns,
+ const BSONObj& from_opts,
const NamespaceString& to_ns,
bool masterSameProcess,
bool slaveOk,
@@ -82,6 +83,7 @@ private:
void copyIndexes(OperationContext* txn,
const std::string& toDBName,
const NamespaceString& from_ns,
+ const BSONObj& from_opts,
const NamespaceString& to_ns,
bool masterSameProcess,
bool slaveOk,