summaryrefslogtreecommitdiff
path: root/src/mongo/db/field_parser.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-07-15 16:13:31 -0400
committerRandolph Tan <randolph@10gen.com>2014-07-15 16:13:50 -0400
commit37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048 (patch)
tree2bcd919c93803f294d562761c2920fc9dd712bcd /src/mongo/db/field_parser.cpp
parentd60fd22dec1c0bd104622eab463cdbba18bf11a9 (diff)
downloadmongo-37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048.tar.gz
Revert "SERVER-14041 enhance secondaryThrottle parameter"
This reverts commit fa1233fbe4a48ef0675820f381987f1df4f42f75.
Diffstat (limited to 'src/mongo/db/field_parser.cpp')
-rw-r--r--src/mongo/db/field_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/field_parser.cpp b/src/mongo/db/field_parser.cpp
index 47b5b8cf1c0..40c8c9664eb 100644
--- a/src/mongo/db/field_parser.cpp
+++ b/src/mongo/db/field_parser.cpp
@@ -111,7 +111,7 @@ namespace mongo {
{
if (elem.eoo()) {
if (field.hasDefault()) {
- *out = field.getDefault().getOwned();
+ *out = field.getDefault();
return FIELD_DEFAULT;
}
else {