Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.3, 10.4
-
Fix Version/s: 10.4.0
-
Component/s: Data types, JSON
-
Labels:None
Description
SELECT
|
JSON_OBJECT("cond", true) AS j1, |
JSON_OBJECT("cond", COALESCE(true, false)) j2; |
+----------------+-------------+
|
| j1 | j2 |
|
+----------------+-------------+
|
| {"cond": true} | {"cond": 1} |
|
+----------------+-------------+
|
j2 looks wrong. It should print the value as true, similar to how j1 does.
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-