diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2014-03-19 18:12:51 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2014-03-19 18:13:51 -0400 |
commit | 670a13d965a5bf949e33309ef47b49a23326a59c (patch) | |
tree | 04f76fba005816e2a222c7587f055faf96921a46 | |
parent | f5623ce7ed697e734402a75c70950ee7308b6280 (diff) | |
download | mongo-670a13d965a5bf949e33309ef47b49a23326a59c.tar.gz |
SERVER-13163/SERVER-13165 Target index creations correctly in the oplog on insert write commands.
(cherry picked from commit d9e4242d7f8c2631834a8b84cddf2f98cd1971b3)
-rw-r--r-- | src/mongo/db/commands/write_commands/batch_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/write_commands/batch_executor.cpp b/src/mongo/db/commands/write_commands/batch_executor.cpp index 43cb4399186..0cc12feed06 100644 --- a/src/mongo/db/commands/write_commands/batch_executor.cpp +++ b/src/mongo/db/commands/write_commands/batch_executor.cpp @@ -1056,7 +1056,7 @@ namespace mongo { Collection* collection, WriteOpResult* result ) { - const string& indexNS = collection->ns().ns(); + const string indexNS = collection->ns().getSystemIndexesCollection(); Lock::assertWriteLocked( indexNS ); |