Skip to content

Commit

Permalink
Update memiavl/db.go
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <huang@crypto.com>
  • Loading branch information
yihuang committed Jul 3, 2023
1 parent 5cb28f5 commit ec2fd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memiavl/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type Options struct {
ZeroCopy bool
// CacheSize defines the cache's max entry size for each memiavl store.
CacheSize int
// LoadForOverwrite if true rollbacks the state, specifically the Load method will
// LoadForOverwriting if true rollbacks the state, specifically the Load method will
// truncate the versions after the `TargetVersion`, the `TargetVersion` becomes the latest version.
// it do nothing if the target version is `0`.
LoadForOverwriting bool
Expand Down

0 comments on commit ec2fd49

Please sign in to comment.