summaryrefslogtreecommitdiff
path: root/db/btree.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-08 12:04:27 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-08 12:04:27 -0400
commit677fbad312059efb0a8a8abecf220520facaa40b (patch)
tree7753b97db1a0612a4534fef5094407d431162186 /db/btree.cpp
parentf88a4415b6894cf44db2cc8a5ae666152e531404 (diff)
downloadmongo-677fbad312059efb0a8a8abecf220520facaa40b.tar.gz
client cursor cleaning and fix masked error
Diffstat (limited to 'db/btree.cpp')
-rw-r--r--db/btree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/btree.cpp b/db/btree.cpp
index 34b7b7f5c24..a9bc4abadaf 100644
--- a/db/btree.cpp
+++ b/db/btree.cpp
@@ -21,6 +21,7 @@
#include "pdfile.h"
#include "../util/unittest.h"
#include "json.h"
+#include "clientcursor.h"
namespace mongo {
@@ -433,9 +434,8 @@ namespace mongo {
return false;
}
- void aboutToDeleteBucket(const DiskLoc&);
void BtreeBucket::delBucket(const DiskLoc& thisLoc, IndexDetails& id) {
- aboutToDeleteBucket(thisLoc);
+ ClientCursor::aboutToDeleteBucket(thisLoc);
assert( !isHead() );
BtreeBucket *p = parent.btreemod();