-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
86488: util: fix loop var capture in TestFastIntMap r=herkolategan a=renatolabs The `TestFastIntMap` test used `t.Parallel()` with a comment indicating that it is safe for concurrent execution. However, the `tc` variable was captured by the closure passed to `t.Run()`; this means that, in practice, we will not actually run all test cases since the loop variable will change before it is read by the Go routine (with very high probability, only the last test case is executed). This commit fixes the issue by creating a local copy of the loop variable before the `t.Run()` call. This bug was found by an updated version of the `loopvarcapture` linter that has not been merged yet. Release justification: test-only change. Release note: None. 86505: sql: remove leftover unused code for window functions r=yuzefovich a=yuzefovich This commit removes some of the dead code around the planning of window functions. The code hasn't been used since the optimizer added the support of the window functions (which was like a couple of years ago). Release justification: low-risk cleanup. Release note: None 86619: sql: prevent DROP OWNED BY with synthetic privileges r=ajwerner a=RichardJCai Release justification: disallowing certain case within new schema change, bug fix Release note (sql change): DROP OWNED BY cannot be performed if the user has synthetic privileges (in system.privileges) Fixes #86499 86764: ui/cluster-ui: fix search filter in active exec overview pages r=xinhaoz a=xinhaoz Fixes #86556 This commit fixes a bug in the active execution overview pages where the search filter was not being applied as a filter. This was due to the search state being erronneously updated to the same value. The search state is now correctly updated to the new value on change. Release justification: bug fix Release note (bug fix): search in active execution overview pages works as expected, properly filtering out stmts and txns that do not contain the search string https://www.loom.com/share/619584d0a50e468da3ee8bbc04f45f75 86765: colexecdisk: extend allowed range for memory usage in a test r=yuzefovich a=yuzefovich Recently merged a532aac added more precise accounting when an operator spills to disk, so we need to extend the allowed range for the memory usage in `TestExternalSortMemoryAccounting` since we now account for more things. Fixes: #86716. Release justification: test-only change. Release note: None Co-authored-by: Renato Costa <renato@cockroachlabs.com> Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com> Co-authored-by: richardjcai <caioftherichard@gmail.com> Co-authored-by: Xin Hao Zhang <xzhang@cockroachlabs.com>
- Loading branch information
Showing
14 changed files
with
60 additions
and
180 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
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