Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL)
-
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