Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Keao <[email protected]>
  • Loading branch information
YangKeao committed Oct 31, 2023
1 parent fbb623f commit 98f0baf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions executor/hash_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,17 +242,10 @@ func (c *hashRowContainer) GetMatchedRowsAndPtrs(probeKey uint64, probeRow chunk

// Some variables used for memTracker.
var (
<<<<<<< HEAD:executor/hash_table.go
matchedDataSize = int64(cap(matched))*rowSize + int64(cap(matchedPtrs))*rowPtrSize
lastChunkBufPointer *chunk.Chunk = nil
lastChunkBufPointer *chunk.Chunk = c.chkBuf
memDelta int64 = 0
needTrackMemUsage = cap(innerPtrs) > signalCheckpointForJoinMask
=======
matchedDataSize = int64(cap(matched))*rowSize + int64(cap(matchedPtrs))*rowPtrSize
needTrackMemUsage = cap(innerPtrs) > signalCheckpointForJoinMask
lastChunkBufPointer = c.chkBuf
memDelta int64
>>>>>>> f8ca23c6bfd (executor: reuse chunk for GetMatchedRowsAndPtrs calls (#48090)):pkg/executor/hash_table.go
)
c.memTracker.Consume(-c.chkBufSizeForOneProbe)
if needTrackMemUsage {
Expand Down

0 comments on commit 98f0baf

Please sign in to comment.