-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44783: sql: avoid lookup on unsupported schema names r=solongordon a=otan Refs: #44733 In `bbef8f9`, we removed the "bypass" where if schema names were not PublicSchema names, we quickly exit. However, with custom schemas (well, only temporary schemas for now), we can no longer do this. Since we only support temporary schemas and public schema for now when doing these lookups, this PR adds the bypass back in such that performance is currently not degraded. No release note as nothing here is publically available yet. Release note: None Co-authored-by: Oliver Tan <otan@cockroachlabs.com>
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 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