[MDEV-29212] json_overlaps() does not check nested key-value pair correctly Created: 2022-07-30 Updated: 2022-08-29 Resolved: 2022-08-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.9 |
| Fix Version/s: | 10.9.2, 10.10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Rucha Deodhar | Assignee: | Rucha Deodhar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This bug was pointed out by GSoC student working on JSON_INTERSECT(). SET @json1 = '{"kk":{"k1":"v1","k2":"v2"}}'; vs SELECT JSON_OVERLAPS(@json1, @json2); Both should give 0 |
| Comments |
| Comment by Rucha Deodhar [ 2022-07-30 ] |
|
Patch: |
| Comment by Alexey Botchkov [ 2022-08-11 ] |
|
ok to push with few corrections in the patch comment. |