[MDEV-9701] CREATE VIEW with GROUP BY or ORDER BY and constant produces invalid definition Created: 2016-03-08 Updated: 2016-03-18 Resolved: 2016-03-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Views |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.1.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream-fixed | ||
| Sprint: | 10.1.13 |
| Description |
|
Here is the reason (note the constant in GROUP BY):
Reproducible on current 5.5.48, 10.0.24, 10.1.12.
|
| Comments |
| Comment by Oleksandr Byelkin [ 2016-03-16 ] |
|
revision-id: 72b709ac7503ae6dd2b5e9049322fefb90b0ebbe (mariadb-10.1.12-16-g72b709a)
Fixed printing integer constant in the ORDER clause (MySQL solution) — |
| Comment by Sergei Golubchik [ 2016-03-18 ] |
|
ok to push |