Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.10
-
None
-
Using official mariadb docker image
Description
Based on official example :
SET @json='{ "x": [0,1], "y": "[0,1]", "z": "Mon\\\"t\\\"y" }'; |
SELECT @json, JSON_VALUE(@json,'$.z'); |
return :
@json JSON_VALUE(@json,'$.z')
|
---------------------------------------------- -------------------------
|
{ "x": [0,1], "y": "[0,1]", "z": "Mon\"t\"y" } Mon\"t\"y
|
as you can see Mon\"t\"y is not escape as it must be