[MDEV-29373] sql_mode=ORACLE: ROWNUM is accepted in subquery, but ignored in subquery in WHERE clause Created: 2022-08-24 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.6.9 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Keremidarski | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
The result is wrong because:
It works properly with derived table both with intended cartesian product and with ON clause:
|