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 committed May 25, 2022
1 parent 1797ca3 commit 638db33
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 @@ -222,6 +222,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 638db33

Please sign in to comment.