diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-03-14 10:53:33 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-03-14 10:53:33 -0400 |
commit | 317cb98a19baa2e9731c735ee223a746b60bb334 (patch) | |
tree | 2ffb04e5da3966c7bb1c41d4c4615146e72ebbf2 | |
parent | fce1d8d0932775d6106e1ca9b17ae7bde15a2c74 (diff) | |
download | mongo-317cb98a19baa2e9731c735ee223a746b60bb334.tar.gz |
SERVER-12662: fix index name creation
-rw-r--r-- | src/mongo/db/index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index.cpp b/src/mongo/db/index.cpp index 9ce80e6deba..e4366977081 100644 --- a/src/mongo/db/index.cpp +++ b/src/mongo/db/index.cpp @@ -444,7 +444,7 @@ namespace mongo { b.append("key", id_obj); } else { - b.append( "name", o["name"] ); + b.append( o["name"] ); b.append(o["key"]); } if( o["unique"].trueValue() ) |