implement Blob::get_size(), the counterpart of Blob::set_size()

This commit is contained in:
Rob Walker
2018-07-25 02:41:26 -07:00
parent ff5854396a
commit 8b01e6ac0b
3 changed files with 36 additions and 7 deletions

View File

@@ -575,7 +575,7 @@ pub fn recover(
data_size,
locks[n].data()[0]
);
if data_size > BLOB_SIZE as u64 {
if data_size > BLOB_DATA_SIZE as u64 {
corrupt = true;
}
}