[MDEV-15944] Subquery is not allowed as the lower FOR loop bound Created: 2018-04-20 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Stored routines |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
If I use a subquery in the upper bound, it works fine:
|
| Comments |
| Comment by Alexander Barkov [ 2018-06-25 ] | ||||||||||||||
|
Note, Oracle does not support subqueries in FOR loop bounds, neither in the lower, nor in the upper:
|