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.
Browse files
Browse the repository at this point in the history
…db#83824 83727: cmd/dev: add generate parser subcommand r=irfansharif a=ajwerner This commit separates out the generated files needed for the parser into a separate genbzl target and then add a reference to that target from dev. You can now run `./dev generate parser` to regenerate the parser files. Release note: None 83737: iterutil: More ergonomic interface r=postamar a=andrewbaptist Replace the Done call in iterutil with Map. This removes a lot of duplicate code and simplifies the way it is used. There are no functional changes as a result of this. Release note: None 83802: sql/schemachanger: add enum type values as an element r=fqazi a=fqazi Previously, our decomposition of enum types only included an element for the type itself. This was inadequate because for multi-region support we need to be able to iterate over the values for an enum. This patch adds further decomposition for enums. Release note: None 83824: sql/catalog/lease: check for cancelled ctx when draining lease Manager r=aayushshah15 a=aayushshah15 Previously, we'd retry indefinitely when `leaseMgr.SetDraining` was called with a cancelled context. This showed up in cockroachdb#83060 as one of the reasons a graceful node shutdown could stall forever. See cockroachdb#83060 (comment) for more details. Relates to cockroachdb#83060 Release note (bug fix): A bug causing a graceful node shutdown to stall forever has been fixed. Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: Andrew Baptist <[email protected]> Co-authored-by: Faizan Qazi <[email protected]> Co-authored-by: Aayush Shah <[email protected]>
- Loading branch information
Showing
57 changed files
with
330 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Generated by genbzl | ||
|
||
PARSER_SRCS = [ | ||
"//pkg/sql/lexbase:keywords.go", | ||
"//pkg/sql/lexbase:reserved_keywords.go", | ||
"//pkg/sql/lexbase:tokens.go", | ||
"//pkg/sql/parser:help_messages.go", | ||
"//pkg/sql/parser:helpmap_test.go", | ||
"//pkg/sql/parser:sql.go", | ||
"//pkg/sql/sem/tree:createtypevariety_string.go", | ||
"//pkg/sql/sem/tree:eval_expr_generated.go", | ||
"//pkg/sql/sem/tree:eval_op_generated.go", | ||
"//pkg/sql/sem/tree:statementreturntype_string.go", | ||
"//pkg/sql/sem/tree:statementtype_string.go", | ||
] |
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
Oops, something went wrong.