[MDEV-7779] View definition changes upon creation Created: 2015-03-14 Updated: 2015-04-28 Resolved: 2015-04-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | GIS, Views |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 5.5.43 |
| Type: | Bug | Priority: | Major |
| Reporter: | John Donofrio | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | verified | ||
| Environment: |
Debian 7.8, Mariadb 10.0.17 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
When creating a view using the following join:
it changes to:
which will not work since st_point is not a valid function. When a query is executed with the same SQL as the view definition, it works as expected. Three files are attached for duplicating the issue:
|
| Comments |
| Comment by Elena Stepanova [ 2015-03-14 ] |
|
Thanks for the report and test case. |
| Comment by Alexey Botchkov [ 2015-04-28 ] |
|
Fixing patch: |