-
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.
86246: sql: Implement DISCARD TEMP r=rafiss a=e-mbrown Refs #83061 Release note (sql change): We now support DISCARD TEMP/TEMPORARY, which drops all temporary tables created in the current session. The command does not drop temporary schemas. Release note (bug fix): DISCARD ALL now deletes temporary tables Release justification: Low risk, high benefit changes to existing functionality(DISCARD ALL) 86944: batcheval: fix incorrect StartTime in ExportResponse r=stevendanna a=adityamaru Previously, ExportResponse for a revision history backup was always setting the `StartTime` in the response to the GCThreshold of the span being exported. This is correct for a full backup where revision history stretches only as far back as the GCThreshold, but is incorrect for incremental backups where the StartTime should stretch as far back as the StartTime of the ExportRequest. Thankfully, this StartTime in ExportResponse is only used for validating that the restore AOST is greater than the StartTime of the full backup i.e. this field is inconsequential for incrementals. Nonetheless, we should send back an accurate response. Release note: None Release justification: low risk bug fix Co-authored-by: e-mbrown <[email protected]> Co-authored-by: adityamaru <[email protected]>
- Loading branch information
Showing
8 changed files
with
94 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
discard_stmt ::= | ||
'DISCARD' 'ALL' | ||
| 'DISCARD' 'SEQUENCES' | ||
| 'DISCARD' 'TEMP' | ||
| 'DISCARD' 'TEMPORARY' |
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