diff options
Diffstat (limited to 'db/btreecursor.cpp')
-rw-r--r-- | db/btreecursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/btreecursor.cpp b/db/btreecursor.cpp index dc1d5ad685d..62b73aa30cf 100644 --- a/db/btreecursor.cpp +++ b/db/btreecursor.cpp @@ -100,8 +100,8 @@ namespace mongo { startBuilder.appendAs( forward ? lowest : highest, "" ); endBuilder.appendAs( forward ? highest : lowest, "" ); } - startKey = startBuilder.doneAndDecouple(); - endKey = endBuilder.doneAndDecouple(); + startKey = startBuilder.obj(); + endKey = endBuilder.obj(); } // Find lowest and highest possible key values given all $gt, $gte, $lt, and |