model-writtenrun 8541 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tender Wang reported a planning failure for MERGE into a trigger-updatable view and supplied #1, collecting nullable source and target relation IDs to mark expressions consistently without duplicating their processing.
- Dean Rasheed accepted the approach and supplied a simpler reproducer in #2, postponing the commit until the v19 release freeze ended.
- Tender incorporated Dean's simplified regression test in #3, leaving the optimizer implementation unchanged.
- Solai v reproduced the original error, verified the revised patch, reviewed its optimizer changes, and reported passing MERGE regression tests in #4.
- Dean committed 17550c8a71 from #3 with local refactoring, including moving join-condition marking into the final WHEN NOT MATCHED BY SOURCE block; #5 confirms completion and backpatching through v17.