Update options.h

This commit is contained in:
Siying Dong 2022-05-03 11:18:15 -07:00 committed by GitHub
parent f78e7672d1
commit ae2168838e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -768,7 +768,7 @@ struct DBOptions {
// Allow the OS to mmap file for reading sst tables. // Allow the OS to mmap file for reading sst tables.
// Not recommended for 32-bit OS. // Not recommended for 32-bit OS.
// When the option is set to true and compression is disabled, the blocks // When the option is set to true and compression is disabled, the blocks
// will not be copied and will be read directly from the mmaped memory // will not be copied and will be read directly from the mmap-ed memory
// area, and the block will not be inserted into the block cache. However, // area, and the block will not be inserted into the block cache. However,
// checksums will still be checked if ReadOptions.verify_checksums is set // checksums will still be checked if ReadOptions.verify_checksums is set
// to be true. It means a checksum check every time a block is read, more // to be true. It means a checksum check every time a block is read, more