leveldb icon indicating copy to clipboard operation
leveldb copied to clipboard

A small question of Corruption_Test

Open yshihao opened this issue 1 year ago • 0 comments

In the test TableFileIndexData of file corruption_test.cc, i comment the line corruping data. then the check function failed, this is correct because the data are not corrupted. but if i change Value function as following, image the strange things happen.The Check functioin only get 9999 correct value and get a bad value.I'm very confusing.

The code of test TableFileIndexData are as following: image The result of test TableFileIndexData are as following: image

yshihao avatar May 18 '23 07:05 yshihao