summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-07-26 14:28:20 -0400
committerDwight <dmerriman@gmail.com>2008-07-26 14:28:20 -0400
commit61621194a37dfd1a10f9af4af3d26c2abb4b9715 (patch)
treecd1cb9f5f623a0f7b057fe95194608f0bf2cdb36
parent09da292c09789605ba469662e7775d6779475dbf (diff)
downloadmongo-61621194a37dfd1a10f9af4af3d26c2abb4b9715.tar.gz
comment
-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);