[MDEV-24616] JSON_EXTRACT produces incorrect result for double wildcard Created: 2021-01-18 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Rucha Deodhar |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Consider this example:
On MariaDB, it produces:
I think the correct result should be what MySQL-8 produces:
|
| Comments |
| Comment by Sergei Petrunia [ 2021-01-18 ] |
|
Setting Affects-version to be all versions that have JSON_EXTRACT (no reason to believe otherwise). Please correct me if I am wrong. |