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.
127652: opt: set all session settings to their global default r=mgartner a=mgartner #### opt: reformat benchmark slow-queries.sql Release note: None #### opt: set all session settings to their global default All session settings in optimizer tests and benchmarks are now set to their global defaults. Prior to this commit each new session setting had to be manually set in both tests and benchmarks. This step could be forgotten, such as with `optimizer_merge_joins_enabled` which was unknowingly disabled in benchmarks when it was added. Now, all session settings with global defaults are automatically set. Additionally, `sql.SetSessionVariable` has been renamed to `sql.TestingSetSessionVariable` to discourage its use outside of tests. NOTE: Now that `optimizer_merge_joins_enabled` is enabled, some benchmarks will appear to regress. Epic: None Release note: None #### opt: enable implicit SELECT FOR UPDATE locking in opt tests Implicit `SELECT ... FOR UPDATE` locking has been enabled in optimizer tests, matching the default value for the corresponding session setting `enable_implicit_select_for_update`. Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
8 changed files
with
85 additions
and
90 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
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
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