[*_check] Remove the inane "This is not the btree you are looking for." message.

This commit is contained in:
Joe Thornber 2020-06-11 13:05:03 +01:00
parent 7a85e47a20
commit 0ab509578f
2 changed files with 2 additions and 4 deletions

View File

@ -360,8 +360,7 @@ namespace persistent_data {
std::ostringstream out;
out << "value size mismatch: expected " << sizeof(typename ValueTraits::disk_type)
<< ", 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();
}

View File

@ -52,8 +52,7 @@ std::string btree_node_checker::value_sizes_mismatch_string() const {
std::ostringstream out;
out << "value size mismatch: expected " << error_value_sizes_[1]
<< ", but got " << error_value_sizes_[0]
<< ". This is not the btree you are looking for."
<< " (block " << error_location_ << ")";
<< " (block " << error_location_ << ").";
return out.str();
}