Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
Description
MariaDB 10.2 |
MariaDB [test]> SELECT JSON_CONTAINS_PATH('{"a":{"b":"c"}}', 'one', '$.a.*'); |
+-------------------------------------------------------+ |
| JSON_CONTAINS_PATH('{"a":{"b":"c"}}', 'one', '$.a.*') | |
+-------------------------------------------------------+ |
| NULL | |
+-------------------------------------------------------+ |
1 row in set, 1 warning (0.00 sec) |
 |
MariaDB [test]> SHOW WARNINGS;
|
+---------+------+-----------------------------------------------------------------------------------+ |
| Level | Code | Message | |
+---------+------+-----------------------------------------------------------------------------------+ |
| Warning | 4044 | Wildcards in JSON path not allowed in argument 1 to function 'json_contains_path' | |
+---------+------+-----------------------------------------------------------------------------------+ |
1 row in set (0.00 sec) |
MySQL 5.7 |
MySQL [test]> SELECT JSON_CONTAINS_PATH('{"a":{"b":"c"}}', 'one', '$.a.*'); |
+-------------------------------------------------------+ |
| JSON_CONTAINS_PATH('{"a":{"b":"c"}}', 'one', '$.a.*') | |
+-------------------------------------------------------+ |
| 1 |
|
+-------------------------------------------------------+ |
1 row in set (0.00 sec) |
Attachments
Issue Links
- relates to
-
MDEV-9143 JSON_xxx functions
- Closed