예제 #1
0
파일: options.go 프로젝트: zackb/rocksdb
// SetVerifyChecksums controls whether all data read with this ReadOptions
// will be verified against corresponding checksums.
//
// It defaults to false. See the LevelDB documentation for details.
func (ro *ReadOptions) SetVerifyChecksums(b bool) {
	C.rocksdb_readoptions_set_verify_checksums(ro.Opt, boolToUchar(b))
}
예제 #2
0
// If true, all data read from underlying storage will be
// verified against corresponding checksums.
// Default: false
func (self *ReadOptions) SetVerifyChecksums(value bool) {
	C.rocksdb_readoptions_set_verify_checksums(self.c, boolToChar(value))
}