[*_check] Remove the inane "This is not the btree you are looking for." message.
This commit is contained in:
parent
7a85e47a20
commit
0ab509578f
@ -360,8 +360,7 @@ namespace persistent_data {
|
|||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
out << "value size mismatch: expected " << sizeof(typename ValueTraits::disk_type)
|
out << "value size mismatch: expected " << sizeof(typename ValueTraits::disk_type)
|
||||||
<< ", but got " << get_value_size()
|
<< ", but got " << get_value_size()
|
||||||
<< ". This is not the btree you are looking for."
|
<< " (block " << location_ << ")." << std::endl;
|
||||||
<< " (block " << location_ << ")" << std::endl;
|
|
||||||
|
|
||||||
return out.str();
|
return out.str();
|
||||||
}
|
}
|
||||||
|
@ -52,8 +52,7 @@ std::string btree_node_checker::value_sizes_mismatch_string() const {
|
|||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
out << "value size mismatch: expected " << error_value_sizes_[1]
|
out << "value size mismatch: expected " << error_value_sizes_[1]
|
||||||
<< ", but got " << error_value_sizes_[0]
|
<< ", but got " << error_value_sizes_[0]
|
||||||
<< ". This is not the btree you are looking for."
|
<< " (block " << error_location_ << ").";
|
||||||
<< " (block " << error_location_ << ")";
|
|
||||||
|
|
||||||
return out.str();
|
return out.str();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user