1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

MDEV-11470 JSON_KEYS accepts arguments in invalid format.

Now JSON functions return warnings if arguments are invalid.
This commit is contained in:
Alexey Botchkov
2016-12-13 12:39:48 +04:00
parent 1b7a794b73
commit d26b9f670d
6 changed files with 351 additions and 131 deletions

View File

@@ -102,6 +102,7 @@ typedef struct st_json_path_t
json_path_step_t *last_step; /* Points to the last step. */
int mode_strict; /* TRUE if the path specified as 'strict' */
enum json_path_step_types types_used; /* The '|' of all step's 'type'-s */
} json_path_t;