Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Not a Bug
-
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
-
Fix Version/s: N/A
-
Component/s: JSON
-
Labels:None
Description
10.7.0 d552e092c9f3e20da078d1b62b976f629f73d3a4 (Debug) |
10.7.0-dbg>SELECT JSON_VALID('{}');
|
+------------------+
|
| JSON_VALID('{}') |
|
+------------------+
|
| 1 |
|
+------------------+
|
1 row in set (0.000 sec)
|
 |
10.7.0-dbg>SELECT JSON_VALID('{\}');
|
+-------------------+
|
| JSON_VALID('{\}') |
|
+-------------------+
|
| 1 |
|
+-------------------+
|
1 row in set (0.000 sec)
|
Both, at least according to http://json-validator.com/ are invalid. The second is definitely invalid/cannot be valid.
Attachments
Issue Links
- relates to
-
MDEV-26678 JSON_EQUALS validates invalid JSON and valid JSON as being equal when using a backslash
-
- Closed
-