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: add missing nil check #106904

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Conversation

adityamaru
Copy link
Contributor

Fixes: #106658
Release note: None

@adityamaru adityamaru requested a review from dt July 17, 2023 13:17
@blathers-crl
Copy link

blathers-crl bot commented Jul 17, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@adityamaru adityamaru requested a review from Xiang-Gu July 17, 2023 13:30
@adityamaru
Copy link
Contributor Author

bors r=dt

@craig
Copy link
Contributor

craig bot commented Jul 17, 2023

Build succeeded:

@craig craig bot merged commit 64d6f45 into cockroachdb:master Jul 17, 2023
2 checks passed
@adityamaru adityamaru deleted the fix-syntax-test branch July 17, 2023 15:52
adityamaru added a commit to adityamaru/cockroach that referenced this pull request Jul 20, 2023
This was fixed in  cockroachdb#106904
but it looks like some file movement in cockroachdb#105624 got rid of the nil check.
This patch re-adds the nil check along with a test, and also
some additional safeguards to not collect any execution details
for non-existent jobs.

Fixes: cockroachdb#106970
Release note: None
adityamaru added a commit to adityamaru/cockroach that referenced this pull request Jul 20, 2023
This was fixed in  cockroachdb#106904
but it looks like some file movement in cockroachdb#105624 got rid of the nil check.
This patch re-adds the nil check along with a test, and also
some additional safeguards to not collect any execution details
for non-existent jobs.

Fixes: cockroachdb#106970
Release note: None
craig bot pushed a commit that referenced this pull request Jul 21, 2023
107254: sql: fix panic in request_job_execution_details r=rafiss a=adityamaru

This was fixed in  #106904 but it looks like some file movement in #105624 got rid of the nil check. This patch re-adds the nil check along with a test, and also some additional safeguards to not collect any execution details for non-existent jobs.

Fixes: #106970
Release note: None

Co-authored-by: adityamaru <adityamaru@gmail.com>
THardy98 pushed a commit to THardy98/cockroach that referenced this pull request Jul 24, 2023
This was fixed in  cockroachdb#106904
but it looks like some file movement in cockroachdb#105624 got rid of the nil check.
This patch re-adds the nil check along with a test, and also
some additional safeguards to not collect any execution details
for non-existent jobs.

Fixes: cockroachdb#106970
Release note: None
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.

sql/tests: TestRandomSyntaxFunctions failed
3 participants