Skip to content

Remove unnecessary reassignment in ComparisonStatsCalculator#23001

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
takezoe:unnecessary-reassignment
Aug 12, 2024
Merged

Remove unnecessary reassignment in ComparisonStatsCalculator#23001
ebyhr merged 1 commit intotrinodb:masterfrom
takezoe:unnecessary-reassignment

Conversation

@takezoe
Copy link
Copy Markdown
Member

@takezoe takezoe commented Aug 11, 2024

Description

PlanNodeStatsEstimate.addSymbolStatistics() is a destructive method. It doesn't seem to need to reassign the result.

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Aug 11, 2024
@ebyhr ebyhr merged commit a9b95c2 into trinodb:master Aug 12, 2024
@github-actions github-actions bot added this to the 454 milestone Aug 12, 2024
@takezoe takezoe deleted the unnecessary-reassignment branch August 12, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants