-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-22596: DELETE FOR PORTION does not obey "Expression in FOR PORTI…
…ON OF must be constant" limitation, data can be easily lost DELETE...FOR PORTION OF... statement accepts non-constant FROM...TO clause. This contradicts the documentation and is inconsistent with the behavior of UPDATE statement. Thus, we add a validation that checks if a given deletion period is specified by constant.
- Loading branch information
1 parent
8a884a9
commit 5d4599f
Showing
3 changed files
with
19 additions
and
0 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