[MDEV-29188] Crash in JSON_EXTRACT Created: 2022-07-28 Updated: 2022-07-29 Resolved: 2022-07-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Marko Mäkelä | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | crash, not-10.3, regression-10.4 | ||
| Description |
|
The following test will crash 10.4 but not 10.3:
This was reduced from the crash in the test spider/bugfix.mdev_24517 after a merge from 10.3 to 10.4 in on a CI builder:
The following would fix it, but cause an inconsistent result in the test main.func_json:
The result difference is as follows:
I think that it would be consistent to return NULL on any error (including the conversion to DOUBLE). |