Skip to content

Commit

Permalink
Merge pull request #106210 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1-106185

release-23.1: sql: fix nil pointer dereference in crdb_internal.transaction_contention_events
  • Loading branch information
zachlite authored Jul 5, 2023
2 parents faa2d14 + 000263e commit fa2d7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/crdb_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -7994,7 +7994,7 @@ func getContentionEventInfo(
if err != nil {
schName = "[dropped schema]"
}
if dbDesc != nil {
if schemaDesc != nil {
schName = schemaDesc.GetName()
}

Expand Down

0 comments on commit fa2d7f7

Please sign in to comment.