0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Can't use basicInsert here unqualified

This commit is contained in:
Mathias Stearn 2011-05-06 14:02:08 -04:00
parent aa13edaae8
commit c119c015fe

View File

@ -1291,7 +1291,7 @@ namespace mongo {
out() << " " << thisLoc.toString() << ".insertHere " << key.toString() << '/' << recordLoc.toString() << ' '
<< lchild.toString() << ' ' << rchild.toString() << " keypos:" << keypos << endl;
if ( !basicInsert(thisLoc, keypos, recordLoc, key, order) ) {
if ( !this->basicInsert(thisLoc, keypos, recordLoc, key, order) ) {
// If basicInsert() fails, the bucket will be packed as required by split().
thisLoc.btreemod<V>()->split(thisLoc, keypos, recordLoc, key, order, lchild, rchild, idx);
return;