forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix null pointer error in cluster_statement_statistics virtual t…
…able Previously, a null pointer error in crdb_internal.cluster_statement_statistics can cause a runtime panic when it is read by internal executor. This commit fixes the null pointer error by properly propagating state in internalExtendedEvalCtx(). Partially resolves cockroachdb#76710 Release note (bug fix): creating materialized view on crdb_internal.cluster_statement_statistics no longer cause panic.
- Loading branch information
Showing
3 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters