-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58072: sql: alias SHOW STATEMENTS to SHOW QUERIES r=rafiss a=ivern Fixes #56240 This commit makes SHOW STATEMENTS a (preferred) alias of SHOW QUERIES. Release note (sql change): SHOW STATEMENTS is now an alias of SHOW QUERIES. The new syntax is preferred by the SQL parser. 58431: opt: assign placeholders for cascade queries r=rytaft a=rytaft Prior to this commit, it was possible that placeholders could appear in cascade queries without getting replaced, causing an error at execution time. This commit fixes the problem by ensuring that placeholders are replaced before the cascade query is executed. Fixes #58028 Release note (bug fix): Fixed an internal error that could occur when executing prepared statements with placeholders that delete data from columns referenced by a foreign key with ON DELETE CASCADE. Co-authored-by: Javier Fernandez-Ivern <[email protected]> Co-authored-by: Rebecca Taft <[email protected]>
- Loading branch information
Showing
14 changed files
with
115 additions
and
45 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
show_statements_stmt ::= | ||
'SHOW' 'CLUSTER' 'STATEMENTS' | ||
| 'SHOW' 'CLUSTER' 'QUERIES' | ||
| 'SHOW' 'LOCAL' 'STATEMENTS' | ||
| 'SHOW' 'LOCAL' 'QUERIES' | ||
| 'SHOW' 'ALL' 'CLUSTER' 'STATEMENTS' | ||
| 'SHOW' 'ALL' 'CLUSTER' 'QUERIES' | ||
| 'SHOW' 'ALL' 'LOCAL' 'STATEMENTS' | ||
| 'SHOW' 'ALL' 'LOCAL' 'QUERIES' |
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