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 f19e9f84df7..4d141722283 100644
--- a/db/btree.cpp
+++ b/db/btree.cpp
@@ -588,6 +588,7 @@ void BtreeBucket::insertHere(DiskLoc thisLoc, int keypos,
cout << " split end " << hex << thisLoc.getOfs() << dec << endl;
}
+/* start a new index off, empty */
DiskLoc BtreeBucket::addHead(IndexDetails& id) {
BtreeBucket *p = allocTemp();
DiskLoc loc = theDataFileMgr.insert(id.indexNamespace().c_str(), p, p->Size, true);