PL/SQL parser
(MDEV-10142)
|
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.2 |
| Type: | Technical task | Priority: | Critical |
| Reporter: | Alexander Barkov | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 10.2.2-3, 10.2.2-1, 10.2.2-2, 10.2.2-4, 10.1.18 | ||||||||||||||||
| Description |
|
This script works fine in Oracle (and PostgreSQL):
Notice, the table t1 is used twice in the UPDATE query, as a target and as a source. Under term of this tasks will allow to use the same table as a source and as a target in UPDATE statements in MariaDB. Currently its not allowed and returns this error:
|