Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql/parser: parsing ROW produces *Tuple, not Tuple #28192

Merged
merged 1 commit into from
Aug 2, 2018

Conversation

knz
Copy link
Contributor

@knz knz commented Aug 2, 2018

Forked off from #28143.
Needed for #26624.

The tree.Tuple result of parsing tuples was immediately re-allocated
on the heap in the parent action rule. This patch simplifies this by
allocating on the heap upfront.

Release note: None

The tree.Tuple result of parsing tuples was immediately re-allocated
on the heap in the parent action rule. This patch simplifies this by
allocating on the heap upfront.

Release note: None
@knz knz requested a review from jordanlewis August 2, 2018 08:39
@knz knz requested review from rjnn, BramGruneir and a team August 2, 2018 08:39
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjnn
Copy link
Contributor

rjnn commented Aug 2, 2018

Lgtm

@knz
Copy link
Contributor Author

knz commented Aug 2, 2018

Thanks

bors r+

craig bot pushed a commit that referenced this pull request Aug 2, 2018
28192: sql/parser: parsing ROW produces *Tuple, not Tuple r=knz a=knz

Forked off from #28143.
Needed for #26624.

The tree.Tuple result of parsing tuples was immediately re-allocated
on the heap in the parent action rule. This patch simplifies this by
allocating on the heap upfront.

Release note: None

Co-authored-by: Raphael 'kena' Poss <[email protected]>
@craig
Copy link
Contributor

craig bot commented Aug 2, 2018

Build succeeded

@craig craig bot merged commit 3e1cd54 into cockroachdb:master Aug 2, 2018
@knz knz deleted the 20180802-simplify-gram branch February 14, 2019 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants