[MDEV-27696] Json table columns accept redundant COLLATE syntax Created: 2022-01-31 Updated: 2022-01-31 Resolved: 2022-01-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.6, 10.7, 10.8 |
| Fix Version/s: | 10.6.7, 10.7.3, 10.8.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The following queries return result sets, although they are expected to return syntax errors:
|
| Comments |
| Comment by Alexander Barkov [ 2022-01-31 ] |
|
Note, normal fields also support some of the above syntax. But this is a mistake and should also be fixed eventually. For now let's just don't propagate the wrong syntax to JSON TABLE. According to the standard:
|