Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
10.2.11
-
None
Description
The JSON_VALID function notes that integers are valid JSON objects.
Query to Reproduce
SELECT JSON_VALID(12345); |
Result:
+-------------------+
|
| JSON_VALID(12345) |
|
+-------------------+
|
| 1 |
|
+-------------------+
|
Expected result:
+-------------------+
|
| JSON_VALID(12345) |
|
+-------------------+
|
| 0 |
|
+-------------------+
|