Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Jul 12, 2023
1 parent 1e8dff3 commit e1a5496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statistics/handle/cache/internal/mapcache/map_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func (c cacheItem) copy() cacheItem {

// MapCache is a cache based on map.
type MapCache struct {
mu sync.RWMutex
tables map[int64]cacheItem
memUsage int64
mu sync.RWMutex
}

// NewMapCache creates a new map cache.
Expand Down

0 comments on commit e1a5496

Please sign in to comment.