Skip to content

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

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20180802-simplify-gram
Aug 2, 2018
Merged

sql/parser: parsing ROW produces *Tuple, not Tuple#28192
craig[bot] merged 1 commit intocockroachdb:masterfrom
knz:20180802-simplify-gram

Conversation

@knz
Copy link
Copy Markdown
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 review from a team, BramGruneir, jordanlewis and rjnn August 2, 2018 08:39
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
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
Copy Markdown
Contributor

rjnn commented Aug 2, 2018

Lgtm

@knz
Copy link
Copy Markdown
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 <knz@cockroachlabs.com>
@craig
Copy link
Copy Markdown
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