diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2022-03-05 01:03:49 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2022-04-15 01:02:44 +0530 |
commit | c781cefd8afc0fa5840456c96f5a0c37cac2edfa (patch) | |
tree | db5008c4f763e4d954f7f9fefa0270f6bc3effbd /sql/share | |
parent | abe971219456b1f41923c06ff715fd4efeb02850 (diff) | |
download | mariadb-git-c781cefd8afc0fa5840456c96f5a0c37cac2edfa.tar.gz |
MDEV-27911: Implement range notation for json path
Range can be thought about in similar manner as wildcard (*) where
more than one elements are processed. To implement range notation, extended
json parser to parse the 'to' keyword and added JSON_PATH_ARRAY_RANGE for
path type. If there is 'to' keyword then use JSON_PATH_ARRAY range for
path type along with existing type.
This new integer to store the end index of range is n_item_end.
When there is 'to' keyword, store the integer in n_item_end else store in
n_item.
Diffstat (limited to 'sql/share')
-rw-r--r-- | sql/share/errmsg-utf8.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt index 652b0e548ee..5a4ee62e53f 100644 --- a/sql/share/errmsg-utf8.txt +++ b/sql/share/errmsg-utf8.txt @@ -8420,7 +8420,7 @@ ER_JSON_PATH_DEPTH eng "Limit of %d on JSON path depth is reached in argument %d to function '%s' at position %d" spa "El límite de %d en profundidad de ruta JSON se ha alcanzado en argumento %d a función '%s' en la posición %d" ER_JSON_PATH_NO_WILDCARD - eng "Wildcards in JSON path not allowed in argument %d to function '%s'" + eng "Wildcards or range in JSON path not allowed in argument %d to function '%s'" spa "Comodines en ruta JSON no permitidos en argumento %d a función '%s'" ER_JSON_PATH_ARRAY eng "JSON path should end with an array identifier in argument %d to function '%s'" |