summaryrefslogtreecommitdiff
path: root/db/btree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/btree.cpp')
-rw-r--r--db/btree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/btree.cpp b/db/btree.cpp
index 64f84c9ca83..1c25a5959bd 100644
--- a/db/btree.cpp
+++ b/db/btree.cpp
@@ -325,6 +325,7 @@ namespace mongo {
KeyNode M = keyNode(m);
int x = key.woCompare(M.key, order);
if ( x == 0 ) {
+ //uassert("duplicate key error", k(m).isUnused() || !assertIfDup);
uassert("duplicate key error", !assertIfDup);
// dup keys allowed. use recordLoc as if it is part of the key