Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

compile gcc

  • Loading branch information...
commit 611a71264a008ff8c53a3c37ea4e092a72b78258 1 parent 971d621
Dwight Merriman authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  db/btree.cpp
4  db/btree.cpp
@@ -341,9 +341,9 @@ namespace mongo {
341 341
             const KeyNode klast = keyNode(this->n-1);
342 342
             if(  klast.key.woCompare(key, order) > 0 ) { 
343 343
                 log() << "btree bucket corrupt? consider reindexing or running validate command" << endl;
344  
-                log() << "  klast: " << keyNode(n-1).key.toString() << endl;
  344
+                log() << "  klast: " << keyNode(this->n-1).key.toString() << endl;
345 345
                 log() << "  key:   " << key.toString() << endl;
346  
-                klast.key.woCompare(key, order);
  346
+                DEV klast.key.woCompare(key, order);
347 347
                 assert(false);
348 348
             }
349 349
         }

0 notes on commit 611a712

Please sign in to comment.
Something went wrong with that request. Please try again.