diff options
Diffstat (limited to 'src/mongo/db/storage/index_entry_comparison.cpp')
-rw-r--r-- | src/mongo/db/storage/index_entry_comparison.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/index_entry_comparison.cpp b/src/mongo/db/storage/index_entry_comparison.cpp index 67613639633..d597cfe082c 100644 --- a/src/mongo/db/storage/index_entry_comparison.cpp +++ b/src/mongo/db/storage/index_entry_comparison.cpp @@ -195,7 +195,7 @@ Status buildDupKeyErrorStatus(const BSONObj& key, } sb << builder.obj(); - return Status(DuplicateKeyErrorInfo(keyPattern), sb.str()); + return Status(DuplicateKeyErrorInfo(keyPattern, key), sb.str()); } } // namespace mongo |