Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop broken special case for nested insert FOR #3797

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

msullivan
Copy link
Member

There is some code that detects when a nested insert contains a DML
inside an iterator, and explicitly reincludes it. I think that this
was a workaround for when the general DML/iterator mechanisms were
much more broken than they are now.

It causes an extra join, and in the case of multi required things, the
join is broken. Just drop that code.

Fixes #3789.

There is some code that detects when a nested insert contains a DML
inside an iterator, and explicitly reincludes it. I think that this
was a workaround for when the general DML/iterator mechanisms were
much more broken than they are now.

It causes an extra join, and in the case of multi required things, the
join is broken. Just drop that code.

Fixes #3789.
@msullivan msullivan requested a review from elprans April 26, 2022 02:26
@msullivan msullivan merged commit 9a1e036 into master Apr 26, 2022
@msullivan msullivan deleted the multi-required branch April 26, 2022 02:50
msullivan added a commit that referenced this pull request Apr 26, 2022
There is some code that detects when a nested insert contains a DML
inside an iterator, and explicitly reincludes it. I think that this
was a workaround for when the general DML/iterator mechanisms were
much more broken than they are now.

It causes an extra join, and in the case of multi required things, the
join is broken. Just drop that code.

Fixes #3789.
@msullivan
Copy link
Member Author

cherry-picked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guaranteed ISE on nested insert on a required multi link
2 participants