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.
126409: sql: fix nil pointer caused by "".crdb_internal.create_statements r=rafiss a=rafiss When querying crdb_internal, "" can be used as the database name so that the result includes information from all databases rather than just the current one. This could cause a nil pointer for tables backed by the populateVirtualIndexForTable helper. This is now fixed. Since this is an internal-only undocumented feature, there is no release note. Epic: None Release note: None Co-authored-by: Rafi Shamim <[email protected]>
- Loading branch information
Showing
2 changed files
with
44 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