[MDEV-28072] JSON_EXTRACT has inconsistent behavior with '0' value in json path (when range is used) Created: 2022-03-15 Updated: 2022-04-14 Resolved: 2022-04-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | None |
| Fix Version/s: | 10.9.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Lena Startseva | Assignee: | Rucha Deodhar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Test:
Actual result:
Look like '0' on the right side of range is bad value, but '-0' - is good value. Why? |
| Comments |
| Comment by Rucha Deodhar [ 2022-03-21 ] |
|
Patch: https://github.com/MariaDB/server/commit/f4b1e4f8e7f52559a689969240f7032d232db57b |
| Comment by Alexey Botchkov [ 2022-04-14 ] |
|
ok to push. |
| Comment by Rucha Deodhar [ 2022-04-14 ] |
|
Pushed to: bb-10.9- |