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: fix assignment of global typDelim var #82526

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Jun 7, 2022

refs #82304

This fixes a bug that caused tests to fail under stress.

Release note: None

This fixes a bug that caused tests to fail under stress.

Release note: None
@rafiss rafiss requested review from andreimatei, otan and a team June 7, 2022 16:04
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @otan and @rafiss)


pkg/sql/pg_catalog.go line 2803 at r1 (raw file):

	_ = typCategoryBitString

	commaTypDelim = tree.NewDString(",")

can this be const?

@rafiss
Copy link
Collaborator Author

rafiss commented Jun 7, 2022

unfortunately no, since tree.NewDString doesn't allow that

bors p=1000 r=andreimatei

@rafiss
Copy link
Collaborator Author

rafiss commented Jun 7, 2022

bors p=10000

@rafiss
Copy link
Collaborator Author

rafiss commented Jun 7, 2022

lol one more try

bors merge p=10000

@craig
Copy link
Contributor

craig bot commented Jun 7, 2022

Build succeeded:

@craig craig bot merged commit ba4d29e into cockroachdb:master Jun 7, 2022
Copy link
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

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

sorry for missing this on review & thanks for fixing it!

@rafiss rafiss deleted the fix-typ-delim branch June 8, 2022 18:33
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.

5 participants