Commit 0acec943 authored by vipwzw's avatar vipwzw

auto ci

parent 07dcb5cb
...@@ -274,4 +274,4 @@ ForkManageExec=100000 ...@@ -274,4 +274,4 @@ ForkManageExec=100000
[fork.sub.store-kvmvccmavl] [fork.sub.store-kvmvccmavl]
ForkKvmvccmavl=1 ForkKvmvccmavl=1
` `
\ No newline at end of file
...@@ -69,10 +69,9 @@ func NewKVMVCC(sub *subKVMVCCConfig, db dbm.DB) *KVMVCCStore { ...@@ -69,10 +69,9 @@ func NewKVMVCC(sub *subKVMVCCConfig, db dbm.DB) *KVMVCCStore {
sub.PruneHeight = defaultPruneHeight sub.PruneHeight = defaultPruneHeight
} }
kvmvccCfg := &KVMCCCConfig{ kvmvccCfg := &KVMCCCConfig{
EnableMVCCIter: sub.EnableMVCCIter, EnableMVCCIter: sub.EnableMVCCIter,
EnableMVCCPrune: sub.EnableMVCCPrune, EnableMVCCPrune: sub.EnableMVCCPrune,
PruneHeight: sub.PruneHeight, PruneHeight: sub.PruneHeight,
} }
if kvmvccCfg.EnableMVCCIter { if kvmvccCfg.EnableMVCCIter {
kvs = &KVMVCCStore{db, dbm.NewMVCCIter(db), make(map[string][]*types.KeyValue), false, kvmvccCfg} kvs = &KVMVCCStore{db, dbm.NewMVCCIter(db), make(map[string][]*types.KeyValue), false, kvmvccCfg}
......
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