[MDEV-27972] Unexpected behavior with negative zero (-0) in JSON Path Created: 2022-03-01 Updated: 2022-04-13 Resolved: 2022-03-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.9 |
| Fix Version/s: | 10.9.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lena Startseva | Assignee: | Rucha Deodhar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | json_path | ||
| Issue Links: |
|
||||||||
| Description |
|
Test:
Expected result:
and index '0' and '-0' too:
but Actual result:
|
| Comments |
| Comment by Rucha Deodhar [ 2022-03-01 ] |
|
patch: https://github.com/MariaDB/server/commit/95fa5ce939813ae91392c597cee0b1cf51757b2b |
| Comment by Alexey Botchkov [ 2022-03-01 ] |
|
ok to push, |
| Comment by Rucha Deodhar [ 2022-03-01 ] |
|
rebased on top of bb-10.9- |