Skip to content

Commit a9edf86

Browse files
committed
Turn off full sanity check for debug build
1 parent a6a514c commit a9edf86

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

fc_btree.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,10 @@ requires(Fanout >= 2 && FanoutLeaf >= 2) class BTreeBase {
524524
}
525525

526526
[[nodiscard]] bool verify() const {
527-
assert(begin_ == const_iterator_type(leftmost_leaf(root_.get()), 0));
528-
assert(verify(root_.get()));
527+
// Uncomment these lines for testing
528+
529+
// assert(begin_ == const_iterator_type(leftmost_leaf(root_.get()), 0));
530+
// assert(verify(root_.get()));
529531
return true;
530532
}
531533

0 commit comments

Comments
 (0)