[MDEV-31915] JSON SP variables do not validate values on assignment Created: 2023-08-14 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types, JSON |
| Affects Version/s: | 10.9, 10.10, 10.11, 11.0, 11.1, 11.2 |
| Fix Version/s: | 10.11, 11.0, 11.1, 11.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
This script correctly rejects an invalid value being inserted into a JSON column:
Assigning the same invalid value to a JSON SP variable works without errors:
The assignment should probably fail as well. |