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: remove dead code #28937

Merged
merged 1 commit into from
Aug 22, 2018
Merged

Conversation

knz
Copy link
Contributor

@knz knz commented Aug 22, 2018

The functions to retrieve the sizes of value encodings have not been
used in a long time. Remove them.

Release note: None

@knz knz requested review from BramGruneir and a team August 22, 2018 06:15
@knz knz requested review from a team August 22, 2018 06:15
@cockroach-teamcity
Copy link
Member

This change is Reviewable

The functions to retrieve the sizes of value encodings have not been
used in a long time. Remove them.

Release note: None
@knz knz force-pushed the 20180822-cleanup-unused-function branch from 8e950a4 to d3ecd2d Compare August 22, 2018 08:28
Copy link
Member

@BramGruneir BramGruneir left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@knz
Copy link
Contributor Author

knz commented Aug 22, 2018

thank you!

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 22, 2018

Build failed

@knz
Copy link
Contributor Author

knz commented Aug 22, 2018

Flaked on #28957. Retrying.

bors r+

craig bot pushed a commit that referenced this pull request Aug 22, 2018
28937: sql: remove dead code r=knz a=knz

The functions to retrieve the sizes of value encodings have not been
used in a long time. Remove them.

Release note: None

28960: sql/testutils: avoid generating array-of-array datums r=knz a=knz

Found while working on #28690.

Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Aug 22, 2018

Build succeeded

@craig craig bot merged commit d3ecd2d into cockroachdb:master Aug 22, 2018
craig bot pushed a commit that referenced this pull request Aug 23, 2018
28942: sql/distsqlplan: avoid excessive data copying r=knz a=knz

First commit from  #28937.
Needed for #28690.

The `ColumnType` struct is not trivially small. Also calling a
by-pointer method on a copy may cause it to escape on the heap. Avoid
making copies until necessary.

Release note: None

Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
craig bot pushed a commit that referenced this pull request Aug 23, 2018
29006: backport-2.1: fix the handling of SQL types r=knz a=knz

Backport 1/1 commits from #28937.
Backport 1/1 commits from #28942.
Backport 17/17 commits from #28943.
Backport 1/1 commits from #28944.
Backport 1/1 commits from #28945.
Backport 1/1 commits from #28949.
Backport 2/2 commits from #28950.
Backport 1/1 commits from #28951 (#28959).
Backport 1/1 commits from #28952 (#28959).
Backport 1/1 commits from #28955 (#28959).
Backport 1/1 commits from #28959.
Backport 1/1 commits from #28959.
Backport 1/1 commits from #28690.

cc @cockroachdb/release 

Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
craig bot pushed a commit that referenced this pull request Aug 24, 2018
29006: backport-2.1: fix the handling of SQL types r=knz a=knz

Backport 1/1 commits from #28937.
Backport 1/1 commits from #28942.
Backport 17/17 commits from #28943.
Backport 1/1 commits from #28944.
Backport 1/1 commits from #28945.
Backport 1/1 commits from #28949.
Backport 2/2 commits from #28950.
Backport 1/1 commits from #28951 (#28959).
Backport 1/1 commits from #28952 (#28959).
Backport 1/1 commits from #28955 (#28959).
Backport 1/1 commits from #28959.
Backport 1/1 commits from #28959.
Backport 1/1 commits from #28690.

cc @cockroachdb/release 

Co-authored-by: Raphael 'kena' Poss <knz@cockroachlabs.com>
@knz knz deleted the 20180822-cleanup-unused-function branch February 14, 2019 12:54
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.

3 participants