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

release-20.2: sql: safeguard against nil fetcher in GetBytesRead #58210

Merged
merged 1 commit into from
Dec 24, 2020

Conversation

RaduBerinde
Copy link
Member

This crash can happen if a scan is finished early; I ran into it while
running logic tests with statement diagnostics enabled on all queries.

Note that this safeguard already exists on master.

Release note (bug fix): fixed a potential "nil pointer dereference"
panic when collecting diagnostics on certain queries.

/cc @cockroachdb/release

This crash can happen if a scan is finished early; I ran into it while
running logic tests with statement diagnostics enabled on all queries.

Note that this safeguard already exists on master.

Release note (bug fix): fixed a potential "nil pointer dereference"
panic when collecting diagnostics on certain queries.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde RaduBerinde merged commit 49115ed into cockroachdb:release-20.2 Dec 24, 2020
@RaduBerinde RaduBerinde deleted the fetcher-crash branch December 24, 2020 00: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.

None yet

3 participants