[MDEV-27666] User variable not parsed as geometry variable in geometry function Created: 2022-01-28 Updated: 2024-01-22 Resolved: 2024-01-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | GIS, Server |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4, 11.2.3, 11.3.2, 11.4.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Anel Husakovic | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
Repeatable with
The same bug exists in MySQL 8.0 with slightly different error message (note braces).
|
| Comments |
| Comment by Alexey Botchkov [ 2023-12-14 ] |
|
https://github.com/MariaDB/server/commit/1b9561fde4436568e210f96837e8351227261af8 |
| Comment by Alexander Barkov [ 2023-12-29 ] |
|
Hello Alexey, I propose instead of adding a new enum for variable data type, implement this in a more generic way using Type_handler. Please review this version: |
| Comment by Alexey Botchkov [ 2024-01-16 ] |
|
ok to push. |
| Comment by Alexander Barkov [ 2024-01-22 ] |
|
Verified that 10.5->10.4 replication of user variables does not break. |