forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
38964: opt: support FK checks with arbitrary mutation input r=RaduBerinde a=RaduBerinde We use the new WithRef infrastructure to refer to the mutation input from FK check queries. The mutation itself optionally acts similar to `With`, saving the input to the mutation operator in a buffer. This allows arbitrary mutation inputs (the hack that was in place only really worked for simple cases, like constant VALUES). Note that we still want to avoid buffering when possible; this is left as a TODO. Release note: None Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
11 changed files
with
340 additions
and
268 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
Oops, something went wrong.