diff options
Diffstat (limited to 'db/btree.h')
-rw-r--r-- | db/btree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/btree.h b/db/btree.h index bb31081b00d..63b1b1aa148 100644 --- a/db/btree.h +++ b/db/btree.h @@ -253,9 +253,14 @@ namespace mongo { return keyOfs >= n ? BSONObj() : keyNode(keyOfs).key; } static BtreeBucket* allocTemp(); /* caller must release with free() */ + + void _insertHere(DiskLoc thisLoc, int keypos, + DiskLoc recordLoc, const BSONObj& key, const Ordering &order, + DiskLoc lchild, DiskLoc rchild, IndexDetails&); void insertHere(DiskLoc thisLoc, int keypos, DiskLoc recordLoc, const BSONObj& key, const Ordering &order, DiskLoc lchild, DiskLoc rchild, IndexDetails&); + int _insert(DiskLoc thisLoc, DiskLoc recordLoc, const BSONObj& key, const Ordering &order, bool dupsAllowed, DiskLoc lChild, DiskLoc rChild, IndexDetails&); |