[MDEV-10096] Behaviour of SQL_NO_CACHE in derived tables is not consistent Created: 2016-05-21 Updated: 2018-06-15 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This script (notice sql_no_cache is used as a column name rather than an option):
returns:
This script:
returns
Looks wrong. It should return the result. |
| Comments |
| Comment by Alexander Barkov [ 2016-05-21 ] | ||
|
This query:
also returns:
It should be a syntax error instead. | ||
| Comment by Alexander Barkov [ 2018-06-15 ] | ||
|
Let's fix in 10.4, in the new grammar being added by |