[MDEV-20063] Error description regression for derieved table missing alias (mariadb 10.4) Created: 2019-07-15 Updated: 2019-08-20 Resolved: 2019-08-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Subquery |
| Affects Version/s: | 10.4.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Slawomir Pryczek | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Mariadb 10.4.6 |
||
| Description |
|
Hello Everyone, I have found some small regression in error reporting, basically it reports lack of derieved table's alias as syntax error in new version of maria. I think maybe some code was removed in 10.4 and that resulted in generic error being output instead of more descriptive one. Not sure if that's a bug, basically the older server was working better in this regard so reporting as minor bug and maybe it can be made to work the old way... Code to reproduce it:
What new version (10.4.6) does: What old version (10.1) does: |
| Comments |
| Comment by Sergei Golubchik [ 2019-08-20 ] |
|
The new error is not wrong. The parser expects an identifier after the subquery in the FROM clause. But it doesn't get an identifier, this is a syntax error. |