[MDEV-21912] JSON_ARRAYAGG(NULL) crashes the server Created: 2020-03-11 Updated: 2020-03-11 Resolved: 2020-03-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | JSON, Server |
| Affects Version/s: | 10.5.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Lukas Eder | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I'm using MariaDB 10.5.1-MariaDB-1:10.5.1+maria~bionic on Docker for Windows. The following query crashes the server:
All sorts of alternative ways to aggregate null lead to the same effect:
But if there are more than 1 null values, the result is as expected:
Yields
|