Skip to content

Commit 317cb98

Browse files
committed
SERVER-12662: fix index name creation
1 parent fce1d8d commit 317cb98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/db/index.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ namespace mongo {
444444
b.append("key", id_obj);
445445
}
446446
else {
447-
b.append( "name", o["name"] );
447+
b.append( o["name"] );
448448
b.append(o["key"]);
449449
}
450450
if( o["unique"].trueValue() )

0 commit comments

Comments
 (0)