diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2023-04-25 13:54:05 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2023-05-03 12:31:45 +0530 |
commit | 97675570ca1e5a3428be1bf6d125f401e37e539d (patch) | |
tree | 8080873e8b0a88d1023fbadc121cb7c2a45e2851 /mysql-test/r/check_constraint_show.result | |
parent | 3ef111610b7f8a6a323975cfdf4a4257feb9dcd9 (diff) | |
download | mariadb-git-97675570ca1e5a3428be1bf6d125f401e37e539d.tar.gz |
MDEV-30689: JSON_SCHEMA_VALID for type=array return 1 for any string that
starts with '['
Analysis:
When type is non-scalar and the json document has syntax error
then it is not detected during validating type. And Since other validate
functions take const argument, the error state is not stored eventually.
Fix:
After we run out of all schemas (in case of no error during validation) from
the schema list, go over the json document until there is error in parsing
or json doc has ended.
Diffstat (limited to 'mysql-test/r/check_constraint_show.result')
0 files changed, 0 insertions, 0 deletions