Commit ecf117e7 authored by vipwzw's avatar vipwzw

auto ci

parent e2c6f375
......@@ -77,9 +77,9 @@ type KVmMavlStore struct {
}
type subKVMVCCConfig struct {
EnableMVCCIter bool `json:"enableMVCCIter"`
EnableMVCCPrune bool `json:"enableMVCCPrune"`
PruneHeight int32 `json:"pruneHeight"`
EnableMVCCIter bool `json:"enableMVCCIter"`
EnableMVCCPrune bool `json:"enableMVCCPrune"`
PruneHeight int32 `json:"pruneHeight"`
EnableEmptyBlockHandle bool `json:"enableEmptyBlockHandle"`
}
......
......@@ -48,9 +48,9 @@ var (
// KVMCCCConfig KVMCCC config
type KVMCCCConfig struct {
EnableMVCCIter bool
EnableMVCCPrune bool
PruneHeight int32
EnableMVCCIter bool
EnableMVCCPrune bool
PruneHeight int32
EnableEmptyBlockHandle bool
}
......@@ -73,9 +73,9 @@ func NewKVMVCC(sub *subKVMVCCConfig, db dbm.DB) *KVMVCCStore {
sub.PruneHeight = defaultPruneHeight
}
kvmvccCfg := &KVMCCCConfig{
EnableMVCCIter: sub.EnableMVCCIter,
EnableMVCCPrune: sub.EnableMVCCPrune,
PruneHeight: sub.PruneHeight,
EnableMVCCIter: sub.EnableMVCCIter,
EnableMVCCPrune: sub.EnableMVCCPrune,
PruneHeight: sub.PruneHeight,
EnableEmptyBlockHandle: sub.EnableEmptyBlockHandle,
}
if kvmvccCfg.EnableMVCCIter {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment