Skip to content

Commit

Permalink
executor: fix processlist's Mem is not zero when HashJoin finished (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 authored May 11, 2022
1 parent ea4fda5 commit 3637d41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executor/hash_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func (c *hashRowContainer) Len() uint64 {
}

func (c *hashRowContainer) Close() error {
defer c.memTracker.Detach()
return c.rowContainer.Close()
}

Expand Down

0 comments on commit 3637d41

Please sign in to comment.