Commit 9a0958f
committed
MDEV-37220 Allow UPDATE/DELETE to read from a CTE
We extend from the SQL standard to match the functionality of other
databases that allow the inclusion of a CTE definition prior to update
and delete statements.
These CTEs are currently read only, like other derived tables, so
cannot have their columns updated in updates set clause, nor have rows
removed in the delete statement.1 parent fd15fd2 commit 9a0958f
File tree
5 files changed
+1401
-6
lines changed- mysql-test/main
- sql
5 files changed
+1401
-6
lines changed
0 commit comments